Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
fd5b97bc
Commit
fd5b97bc
authored
Jul 10, 2008
by
Vincent Povirk
Committed by
Alexandre Julliard
Jul 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Always respect Proxy-Connection: or Connection: if it exists.
parent
11f09f3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
9 deletions
+15
-9
http.c
dlls/wininet/http.c
+15
-9
No files found.
dlls/wininet/http.c
View file @
fd5b97bc
...
...
@@ -4048,7 +4048,9 @@ static BOOL HTTP_ProcessHeader(LPWININETHTTPREQW lpwhr, LPCWSTR field, LPCWSTR v
BOOL
HTTP_FinishedReading
(
LPWININETHTTPREQW
lpwhr
)
{
WCHAR
szVersion
[
10
];
WCHAR
szConnectionResponse
[
20
];
DWORD
dwBufferSize
=
sizeof
(
szVersion
);
BOOL
keepalive
=
FALSE
;
TRACE
(
"
\n
"
);
...
...
@@ -4058,15 +4060,19 @@ BOOL HTTP_FinishedReading(LPWININETHTTPREQW lpwhr)
&
dwBufferSize
,
NULL
)
||
strcmpiW
(
szVersion
,
g_szHttp1_1
))
{
WCHAR
szConnectionResponse
[
20
];
dwBufferSize
=
sizeof
(
szConnectionResponse
);
if
((
!
HTTP_HttpQueryInfoW
(
lpwhr
,
HTTP_QUERY_CONNECTION
,
szConnectionResponse
,
&
dwBufferSize
,
NULL
)
||
strcmpiW
(
szConnectionResponse
,
szKeepAlive
))
&&
(
!
HTTP_HttpQueryInfoW
(
lpwhr
,
HTTP_QUERY_PROXY_CONNECTION
,
szConnectionResponse
,
&
dwBufferSize
,
NULL
)
||
strcmpiW
(
szConnectionResponse
,
szKeepAlive
)))
{
HTTPREQ_CloseConnection
(
&
lpwhr
->
hdr
);
}
keepalive
=
TRUE
;
}
dwBufferSize
=
sizeof
(
szConnectionResponse
);
if
(
HTTP_HttpQueryInfoW
(
lpwhr
,
HTTP_QUERY_PROXY_CONNECTION
,
szConnectionResponse
,
&
dwBufferSize
,
NULL
)
||
HTTP_HttpQueryInfoW
(
lpwhr
,
HTTP_QUERY_CONNECTION
,
szConnectionResponse
,
&
dwBufferSize
,
NULL
))
{
keepalive
=
!
strcmpiW
(
szConnectionResponse
,
szKeepAlive
);
}
if
(
!
keepalive
)
{
HTTPREQ_CloseConnection
(
&
lpwhr
->
hdr
);
}
/* FIXME: store data in the URL cache here */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment