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
164ddbca
Commit
164ddbca
authored
Feb 21, 2013
by
Hans Leidekker
Committed by
Alexandre Julliard
Feb 21, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Accept HTTP idle packets while waiting for the second prepare header.
parent
612caa5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
+16
-3
rpc_transport.c
dlls/rpcrt4/rpc_transport.c
+16
-3
No files found.
dlls/rpcrt4/rpc_transport.c
View file @
164ddbca
...
...
@@ -2324,9 +2324,22 @@ static RPC_STATUS rpcrt4_http_prepare_out_pipe(HINTERNET out_request,
if
(
status
!=
RPC_S_OK
)
return
status
;
TRACE
(
"received (%d) from first prepare header
\n
"
,
field1
);
status
=
rpcrt4_http_read_http_packet
(
out_request
,
&
pkt_from_server
,
&
data_from_server
);
if
(
status
!=
RPC_S_OK
)
return
status
;
for
(;;)
{
status
=
rpcrt4_http_read_http_packet
(
out_request
,
&
pkt_from_server
,
&
data_from_server
);
if
(
status
!=
RPC_S_OK
)
return
status
;
if
(
pkt_from_server
.
http
.
flags
!=
0x0001
)
break
;
TRACE
(
"http idle packet, waiting for real packet
\n
"
);
HeapFree
(
GetProcessHeap
(),
0
,
data_from_server
);
if
(
pkt_from_server
.
http
.
num_data_items
!=
0
)
{
ERR
(
"HTTP idle packet should have no data items instead of %d
\n
"
,
pkt_from_server
.
http
.
num_data_items
);
return
RPC_S_PROTOCOL_ERROR
;
}
}
status
=
RPCRT4_ParseHttpPrepareHeader2
(
&
pkt_from_server
,
data_from_server
,
&
field1
,
flow_control_increment
,
&
field3
);
...
...
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