[wp-trac] [WordPress Trac] #26010: SSL via `WP_Http_Curl` breaks on HTTP version mismatch

WordPress Trac noreply at wordpress.org
Sat Nov 16 02:05:25 UTC 2013


#26010: SSL via `WP_Http_Curl` breaks on HTTP version mismatch
--------------------------+------------------------
 Reporter:  soulseekah    |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  HTTP          |     Version:  3.7
 Severity:  minor         |  Resolution:  duplicate
 Keywords:                |
--------------------------+------------------------
Changes (by dd32):

 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 As far as I can tell, OpenSSL generates an error in the event of the SSL
 handshake not being completed upon shutdown, however, it treats that error
 slightly different to a standard error. That's what the cURL change was.

 As for not seeing it with `--trace`, I can't explain that (as I don't know
 how it works), I can only confirm it from looking at the server debug logs
 and triggering the conditions from the server (ie. forcefully closing the
 connection before SSL shutdown, and not triggering it by delaying
 connection close until the SSL shutdown takes place).

 So ultimately, I understand the basics of what caused it, but I'm not a
 specialist in OpenSSL/cURL so I can't really verify everything. I just
 understand the circumstances where WordPress failed to communicate with
 api.wordpress.org, and managed to track down the changesets and understand
 the problem.

 FWIW, closing this ticket as a duplicate of #25738 for fixing, but that
 doesn't mean you can't reply here.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26010#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list