Module: wine Branch: master Commit: 47a8b86b5332a988d5f32b99ea6a84b17061a27a URL: http://source.winehq.org/git/wine.git/?a=commit;h=47a8b86b5332a988d5f32b99ea...
Author: Rob Shearman rob@codeweavers.com Date: Sun Jan 7 12:53:29 2007 +0000
wininet: Use Keep-Alive for HTTP requests if specified by the flags passed into HttpOpenRequest.
---
dlls/wininet/http.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index cb8b844..cdf2bff 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -2302,7 +2302,8 @@ BOOL WINAPI HTTP_HttpSendRequestW(LPWINI HTTP_ADDREQ_FLAG_ADD | HTTP_ADDHDR_FLAG_REPLACE); }
- HTTP_ProcessHeader(lpwhr, szConnection, szClose, + HTTP_ProcessHeader(lpwhr, szConnection, + lpwhr->hdr.dwFlags & INTERNET_FLAG_KEEP_CONNECTION ? szKeepAlive : szClose, HTTP_ADDHDR_FLAG_REQ | HTTP_ADDHDR_FLAG_REPLACE);
/* if there's a proxy username and password, add it to the headers */