]> git.ipfire.org Git - thirdparty/curl.git/commit
http: remove a HTTP method size restriction
authorDaniel Stenberg <daniel@haxx.se>
Fri, 14 Mar 2025 16:30:09 +0000 (17:30 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 14 Mar 2025 19:10:09 +0000 (20:10 +0100)
commit7d679f9ab6f159483cd24b633eda0f33d2330418
tree786cd4ec08971f2bc634bbd5287e4bfbe8b9379b
parent5b6d3291b5f26f70a0644b557d844253d9bdd265
http: remove a HTTP method size restriction

By allocating the method string as part of the struct, the previous
fixed size limit (23 bytes) can be avoided. It would previously make
"curl -X [long string]" work against http://localhost but fail against
https://curl.se with no clear error message.

Closes #16729
lib/http.c
lib/http.h