diff options
author | Nick Zitzmann <nickzman@gmail.com> | 2013-02-12 13:02:36 -0700 |
---|---|---|
committer | Nick Zitzmann <nickzman@gmail.com> | 2013-02-12 13:02:36 -0700 |
commit | 66aa9bf52d3ea56d7c5dea8c4c6a2e27f0c8db21 (patch) | |
tree | 2597eeb0a4cec42608d476190d54bfd32775f395 /tests/data/test211 | |
parent | bd93062ee52edec4869416ab8306032658010900 (diff) |
darwinssl: Fix send glitchiness with data > 32 or so KB
An ambiguity in the SSLWrite() documentation lead to a bad inference in the
code where we assumed SSLWrite() returned the amount of bytes written to
the socket, when that is not actually true; it returns the amount of data
that is buffered for writing to the socket if it returns errSSLWouldBlock.
Now darwinssl_send() returns CURLE_AGAIN if data is buffered but not written.
Reference URL: http://curl.haxx.se/mail/lib-2013-02/0145.html
Diffstat (limited to 'tests/data/test211')
0 files changed, 0 insertions, 0 deletions