cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1209 Support TCP keepalive on win32

From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Sun, 31 Mar 2013 21:19:49 +0000

Thanks, applied and merged in commit c4d7c1514f. Issue closed!

---
** [bugs:#1209] Support TCP keepalive on win32**
**Status:** closed-accepted
**Created:** Sun Mar 31, 2013 02:27 PM UTC by Robert Wruck
**Last Updated:** Sun Mar 31, 2013 02:27 PM UTC
**Owner:** Daniel Stenberg
Win32 doesn't have TCP_KEEPIDLE/TCP_KEEPINTVL but rather uses the custom SIO_KEEPALIVE_VALS WSAIoctl (see http://msdn.microsoft.com/en-us/library/windows/desktop/dd877220%28v=vs.85%29.aspx).
Here is a patch for CURLOPT_TCP_KEEPIDLE and CURLOPT_TCP_KEEPINTVL on Win32 platforms.
Unfortunately, w32api (MinGW) doesn't currently define SIO_KEEPALIVE_VALS in ws2tcpip.h, so I included the necessary definitions.
---
Sent from sourceforge.net because you indicated interest in <https://sourceforge.net/p/curl/bugs/1209/>
To unsubscribe from further messages, please visit <https://sourceforge.net/auth/subscriptions/>
Received on 2013-03-31

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET