tntim96 / JSCover

JSCover is a JavaScript Code Coverage Tool that measures line, branch and function coverage
GNU General Public License v2.0
399 stars 84 forks source link

404 with large query headers #308

Closed stephdz closed 2 years ago

stephdz commented 2 years ago

When using JSCover as a proxy, I experienced 404 using HTTP queries with large headers.

Reading the source code, I found that the limit was 5KB : https://github.com/tntim96/JSCover/blob/1adf11c82653576753af0502bfc1f63900d85780/src/main/java/jscover/server/HttpServer.java#L358

I suggested to use a larger value like 16KB so it works with all major servers (as listed here https://stackoverflow.com/a/8623061).

Pull request will come soon ;)