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
30c00ea1
Commit
30c00ea1
authored
May 31, 2013
by
Hans Leidekker
Committed by
Alexandre Julliard
May 31, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Specify INTERNET_FLAG_NO_CACHE_WRITE for the HTTP transport pipes.
parent
667bd327
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
rpc_transport.c
dlls/rpcrt4/rpc_transport.c
+8
-8
No files found.
dlls/rpcrt4/rpc_transport.c
View file @
30c00ea1
...
...
@@ -2364,6 +2364,7 @@ static RPC_STATUS rpcrt4_ncacn_http_open(RpcConnection* Connection)
static
const
WCHAR
wszColon
[]
=
{
':'
,
0
};
static
const
WCHAR
wszAcceptType
[]
=
{
'a'
,
'p'
,
'p'
,
'l'
,
'i'
,
'c'
,
'a'
,
't'
,
'i'
,
'o'
,
'n'
,
'/'
,
'r'
,
'p'
,
'c'
,
0
};
LPCWSTR
wszAcceptTypes
[]
=
{
wszAcceptType
,
NULL
};
DWORD
flags
;
WCHAR
*
url
;
RPC_STATUS
status
;
BOOL
secure
;
...
...
@@ -2403,20 +2404,19 @@ static RPC_STATUS rpcrt4_ncacn_http_open(RpcConnection* Connection)
(
httpc
->
common
.
QOS
->
qos
->
AdditionalSecurityInfoType
==
RPC_C_AUTHN_INFO_TYPE_HTTP
)
&&
(
httpc
->
common
.
QOS
->
qos
->
u
.
HttpCredentials
->
Flags
&
RPC_C_HTTP_FLAG_USE_SSL
);
httpc
->
in_request
=
HttpOpenRequestW
(
httpc
->
session
,
wszVerbIn
,
url
,
NULL
,
NULL
,
wszAcceptTypes
,
(
secure
?
INTERNET_FLAG_SECURE
:
0
)
|
INTERNET_FLAG_KEEP_CONNECTION
|
INTERNET_FLAG_PRAGMA_NOCACHE
,
(
DWORD_PTR
)
httpc
->
async_data
);
flags
=
INTERNET_FLAG_KEEP_CONNECTION
|
INTERNET_FLAG_PRAGMA_NOCACHE
|
INTERNET_FLAG_NO_CACHE_WRITE
;
if
(
secure
)
flags
|=
INTERNET_FLAG_SECURE
;
httpc
->
in_request
=
HttpOpenRequestW
(
httpc
->
session
,
wszVerbIn
,
url
,
NULL
,
NULL
,
wszAcceptTypes
,
flags
,
(
DWORD_PTR
)
httpc
->
async_data
);
if
(
!
httpc
->
in_request
)
{
ERR
(
"HttpOpenRequestW failed with error %d
\n
"
,
GetLastError
());
HeapFree
(
GetProcessHeap
(),
0
,
url
);
return
RPC_S_SERVER_UNAVAILABLE
;
}
httpc
->
out_request
=
HttpOpenRequestW
(
httpc
->
session
,
wszVerbOut
,
url
,
NULL
,
NULL
,
wszAcceptTypes
,
(
secure
?
INTERNET_FLAG_SECURE
:
0
)
|
INTERNET_FLAG_KEEP_CONNECTION
|
INTERNET_FLAG_PRAGMA_NOCACHE
,
(
DWORD_PTR
)
httpc
->
async_data
);
httpc
->
out_request
=
HttpOpenRequestW
(
httpc
->
session
,
wszVerbOut
,
url
,
NULL
,
NULL
,
wszAcceptTypes
,
flags
,
(
DWORD_PTR
)
httpc
->
async_data
);
HeapFree
(
GetProcessHeap
(),
0
,
url
);
if
(
!
httpc
->
out_request
)
{
...
...
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