-
I've got some long query strings on some urls and once they start getting above around 4k characters the uWS response fails with uws.App().any('/*', (res,req) => console.log('request')) simplified example where I will likely add solution to reduce url length but wondering if this is issue that needs to be fixed |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
We use a 4kb max length for requests, meaning URLs must be less than 4kb. This is for security reasons.
It also is not guaranteed to be ANY particular length, it's entirely up to the implementation. |
Beta Was this translation helpful? Give feedback.
-
Is the 4kb max length still valid? I'm able to make it work but I'm getting intermittent empty responses (and the request never reaches the handler). If that limit is still true, is there a way to tweak it? Thanks!! |
Beta Was this translation helpful? Give feedback.
We use a 4kb max length for requests, meaning URLs must be less than 4kb. This is for security reasons.
It also is not guaranteed to be ANY particular length, it's entirely up to the implementation.