By Jeremy Shapiro.
+2005-08-26 Jeremy Shapiro <jnshapiro@gmail.com>
+
+ * openssl.c (ssl_init): Set SSL_MODE_AUTO_RETRY.
+
2005-08-23 Hrvoje Niksic <hniksic@xemacs.org>
* host.c (address_list_from_ipv4_addresses): Use IP_INADDR_DATA.
else
fp = output_stream;
- /* #### This confuses the timestamping code that checks for file
- size. Maybe we should save some additional information? */
- if (opt.save_headers)
+ /* This confuses the timestamping code that checks for file size.
+ #### The timestamping code should be smarter about file size. */
+ if (opt.save_headers && hs->restval == 0)
fwrite (head, 1, strlen (head), fp);
/* Now we no longer need to store the response header. */
handles them correctly), allow them in OpenSSL. */
SSL_CTX_set_mode (ssl_ctx, SSL_MODE_ENABLE_PARTIAL_WRITE);
+ /* The OpenSSL library can handle renegotiations automatically, so
+ tell it to do so. */
+ SSL_CTX_set_mode (ssl_ctx, SSL_MODE_AUTO_RETRY);
+
return true;
error: