Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
566b1447
Commit
566b1447
authored
Apr 30, 2013
by
Piotr Caban
Committed by
Alexandre Julliard
Apr 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Add current raw headers to cache.
parent
78839767
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
http.c
dlls/wininet/http.c
+6
-3
No files found.
dlls/wininet/http.c
View file @
566b1447
...
...
@@ -2276,12 +2276,15 @@ static void commit_cache_entry(http_request_t *req)
req
->
hCacheFile
=
NULL
;
if
(
HTTP_GetRequestURL
(
req
,
url
))
{
DWORD
headersLen
;
WCHAR
*
header
;
DWORD
header_len
;
headersLen
=
req
->
rawHeaders
?
strlenW
(
req
->
rawHeaders
)
:
0
;
header
=
build_response_header
(
req
,
TRUE
);
header_len
=
(
header
?
strlenW
(
header
)
:
0
);
CommitUrlCacheEntryW
(
url
,
req
->
cacheFile
,
req
->
expires
,
req
->
last_modified
,
NORMAL_CACHE_ENTRY
,
req
->
rawHeaders
,
headersLen
,
NULL
,
0
);
header
,
header_len
,
NULL
,
0
);
heap_free
(
header
);
}
}
...
...
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