php-mod/curl

Multiple HTTP/1.1 100 Continue responses causes corrupt header array

zurborg opened this issue · 0 comments

When a server responses with more than one HTTP/1.1 100 Continue message, the header array contains only the second HTTP/1.1 100 Continue message and the actual headers are part of the response body.

One solution is to change the corresponding if-condition to a while-loop.

I'll make a pull request to solve this issue.