o crash when connection cache size is 1 and Curl_do() failed
o GnuTLS-built libcurl can now be forced to prefer SSLv3
o crash when doing Negotiate again on a re-used connection
+ o select/poll regression
This release includes the following known bugs:
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
#define elapsed_ms (int)curlx_tvdiff(curlx_tvnow(), initial_tv)
#ifdef CURL_ACKNOWLEDGE_EINTR
-#define error_is_EINTR (error == EINTR)
+#define error_not_EINTR (1)
#else
-#define error_is_EINTR (0)
+#define error_not_EINTR (error != EINTR)
#endif
/*
if(r != -1)
break;
error = SOCKERRNO;
- if((error == EINVAL) || error_is_EINTR)
+ if(error && error_not_EINTR)
break;
pending_ms = timeout_ms - elapsed_ms;
if(pending_ms <= 0)
if(r != -1)
break;
error = SOCKERRNO;
- if((error == EINVAL) || error_is_EINTR)
+ if(error && error_not_EINTR)
break;
if(timeout_ms > 0) {
pending_ms = timeout_ms - elapsed_ms;
if(r != -1)
break;
error = SOCKERRNO;
- if((error == EINVAL) || (error == EBADF) || error_is_EINTR)
+ if(error && error_not_EINTR)
break;
if(timeout_ms > 0) {
pending_ms = timeout_ms - elapsed_ms;
if(r != -1)
break;
error = SOCKERRNO;
- if((error == EINVAL) || error_is_EINTR)
+ if(error && error_not_EINTR)
break;
if(timeout_ms > 0) {
pending_ms = timeout_ms - elapsed_ms;
if(r != -1)
break;
error = SOCKERRNO;
- if((error == EINVAL) || (error == EBADF) || error_is_EINTR)
+ if(error && error_not_EINTR)
break;
if(timeout_ms > 0) {
pending_ms = timeout_ms - elapsed_ms;