- Mar 19, 2014
-
-
Gaël PORTAY authored
Because of the socket is unblocking, PolarSSL does need call to getsock to get the action to perform in multi environment. In some cases, it might happen we have not received yet all data to perform the handshake. ssh_handshake returns POLARSSL_ERR_NET_WANT_READ, the state is updated but because of the getsock has not the proper #define macro to, the library never prevents to select socket for input thus the socket will never be awaken when last data is available. Thus it leads to timeout.
-
- Mar 18, 2014
-
-
Gaël PORTAY authored
Remove all #ifdef/else/endif macros that ensure compatibility with polarssl version previous than 1.3.
-
Gaël PORTAY authored
API has changed since version 1.3. A compatibility header has been created to ensure forward compatibility for code using old API: * x509 certificate structure has been renamed to from x509_cert to x509_crt * new dedicated setter for RSA certificates ssl_set_own_cert_rsa, ssl_set_own_cert is for generic keys * ssl_default_ciphersuites has been replaced by function ssl_list_ciphersuites() This patch drops the use of the compatibly header.
-
Daniel Stenberg authored
-
- Mar 17, 2014
-
-
Daniel Stenberg authored
Also fixed a function name change in the version requirement bump
-
hasufell authored
Rename x509_cert to x509_crt and add "compat-1.2.h" include. This would still need some more thorough conversion in order to drop "compat-1.2.h" include.
-
- Mar 15, 2014
-
-
Kamil Dudka authored
... if built against a new enough version of NSS
-
Kamil Dudka authored
... if built against a new enough version of NSS
-
Kamil Dudka authored
... but allow them to be enabled/disabled explicitly. The default policy should be maintained at the NSS level.
-
Dan Fandrich authored
-
- Mar 14, 2014
-
-
Dan Fandrich authored
-
Dan Fandrich authored
-
Daniel Stenberg authored
-
- Mar 10, 2014
-
-
Tatsuhiro Tsujikawa authored
... and use Curl_safefree() instead of free()
-
Daniel Stenberg authored
Patch-by: byte_bucket
-
- Mar 09, 2014
-
-
Daniel Stenberg authored
-
- Mar 06, 2014
-
-
Daniel Stenberg authored
-
Dan Fandrich authored
Also, combined a couple of #ifdef sections
-
Dan Fandrich authored
-
Daniel Stenberg authored
-
- Mar 05, 2014
-
-
Daniel Stenberg authored
Port number zero is perfectly allowed to connect to. I moved to storing the remote port number in an int so that -1 means undefined and 0-65535 can be used for legitimate port numbers.
-
- Mar 03, 2014
-
-
Daniel Stenberg authored
Setting the TIMER_STARTSINGLE timestamp first in CONNECT has the drawback that for actions that go back to the CONNECT state, the time stamp is reset and for the multi_socket API there's no corresponding Curl_expire() then so the timeout logic gets wrong! Reported-by: Brad Spencer Bug: http://curl.haxx.se/mail/lib-2014-02/0036.html
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
... as it isn't used then!
-
Daniel Stenberg authored
-
Jiří Malák authored
Remove slash/backslash problem, now only slashes are used, Wmake automaticaly translate slash/backslash to proper version or tools are not sensitive for it. Enable spaces in path. Use internal rm command for all host platforms Add error message if old Open Watcom version is used. Some old versions exhibit build problems for Curl latest version. Now only versions 1.8, 1.9 and 2.O beta are supported
-
- Mar 02, 2014
-
-
Jiří Malák authored
Remove compilation message for platforms where size of long type is equal size of int type.
-
- Feb 28, 2014
-
-
Steve Holme authored
-
Tatsuhiro Tsujikawa authored
For HTTP/2, we may read up everything including responde body with header fields in Curl_http_readwrite_headers. If no content-length is provided, curl waits for the connection close, which we emulate it using conn->proto.httpc.closed = TRUE. The thing is if we read everything, then http2_recv won't be called and we cannot signal the HTTP/2 stream has closed. As a workaround, we return nonzero from data_pending to call http2_recv.
-
Daniel Stenberg authored
nghttp2 has yet again extended its callback struct and this is an attempt to make curl compile with nghttp2 from current git
-
- Feb 24, 2014
-
-
Marc Hoersken authored
-
David Ryskalczyk authored
Original commit message was: Don't omit CN verification in SChannel when an IP address is used. Side-effect of this change: SChannel and CryptoAPI do not support the iPAddress subjectAltName according to RFC 2818. If present, SChannel will first compare the IP address to the dNSName subjectAltNames and then fallback to the most specific Common Name in the Subject field of the certificate. This means that after this change curl will not connect to SSL/TLS hosts as long as the IP address is not specified in the SAN or CN of the server certificate or the verifyhost option is disabled.
-
- Feb 23, 2014
-
-
David Ryskalczyk authored
-
- Feb 22, 2014
-
-
Dan Fandrich authored
-
- Feb 19, 2014
-
-
Daniel Stenberg authored
When asking for an SFTP directory with NOBODY set, no directory contents should be retrieved. Bug: http://curl.haxx.se/mail/lib-2014-02/0155.html
-
- Feb 18, 2014
-
-
Dan Fandrich authored
-
- Feb 17, 2014
-
-
Tatsuhiro Tsujikawa authored
This patch enables HTTP POST/PUT in HTTP2. We disabled Expect header field and chunked transfer encoding since HTTP2 forbids them. In HTTP1, Curl sends small upload data with request headers, but HTTP2 requires upload data must be in DATA frame separately. So we added some conditionals to achieve this.
-
Daniel Stenberg authored
When the multi API is used we must also ignore SIGPIPE signals when caused by things we do, like they can easily be generated by OpenSSL.
-
Dan Fandrich authored
It now disables NTLM and GSS authentication methods, and produces compilable code when SSL is enabled.
-