[wp-trac] [WordPress Trac] #34053: HTTP API (Curl backend) inappropriately sends Content-Length header on POST requests made through a proxy server CONNECT

WordPress Trac noreply at wordpress.org
Tue Nov 17 19:39:58 UTC 2015


#34053: HTTP API (Curl backend) inappropriately sends Content-Length header on POST
requests made through a proxy server CONNECT
--------------------------+------------------------------
 Reporter:  petertvs      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  HTTP API      |     Version:  4.3.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  administration
--------------------------+------------------------------

Comment (by awbauer):

 We're seeing the same issue here. In our current case, HTTPS POST
 connections to https://www.google.com/recaptcha/api/siteverify (with
 content in the body) time out 100% of the time. When the POSTs are
 submitted without body content, the requests complete no problem.

 Commenting out those lines in class-http.php has been the only fix that's
 worked for us.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34053#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list