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
d5ec9fa7
Commit
d5ec9fa7
authored
Aug 26, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Aug 27, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
http.sys: Fill out the raw URL.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d95bffda
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
http.c
dlls/http.sys/http.c
+13
-0
No files found.
dlls/http.sys/http.c
View file @
d5ec9fa7
...
...
@@ -279,6 +279,7 @@ static NTSTATUS complete_irp(struct connection *conn, IRP *irp)
if
(
conn
->
unk_verb_len
)
irp_size
+=
conn
->
unk_verb_len
+
1
;
irp_size
+=
conn
->
url_len
+
1
;
TRACE
(
"Need %u bytes, have %u.
\n
"
,
irp_size
,
output_len
);
irp
->
IoStatus
.
Information
=
irp_size
;
...
...
@@ -312,6 +313,7 @@ static NTSTATUS complete_irp(struct connection *conn, IRP *irp)
req
->
Version
=
conn
->
version
;
req
->
Verb
=
conn
->
verb
;
req
->
UnknownVerbLength
=
conn
->
unk_verb_len
;
req
->
RawUrlLength
=
conn
->
url_len
;
if
(
conn
->
unk_verb_len
)
{
...
...
@@ -321,6 +323,11 @@ static NTSTATUS complete_irp(struct connection *conn, IRP *irp)
buffer
[
offset
++
]
=
0
;
}
req
->
pRawUrl
=
params
.
addr
+
offset
;
memcpy
(
buffer
+
offset
,
conn
->
url
,
conn
->
url_len
);
offset
+=
conn
->
url_len
;
buffer
[
offset
++
]
=
0
;
req
->
BytesReceived
=
conn
->
req_len
;
}
else
...
...
@@ -335,6 +342,7 @@ static NTSTATUS complete_irp(struct connection *conn, IRP *irp)
req
->
Version
=
conn
->
version
;
req
->
Verb
=
conn
->
verb
;
req
->
UnknownVerbLength
=
conn
->
unk_verb_len
;
req
->
RawUrlLength
=
conn
->
url_len
;
if
(
conn
->
unk_verb_len
)
{
...
...
@@ -344,6 +352,11 @@ static NTSTATUS complete_irp(struct connection *conn, IRP *irp)
buffer
[
offset
++
]
=
0
;
}
req
->
pRawUrl
=
params
.
addr
+
offset
;
memcpy
(
buffer
+
offset
,
conn
->
url
,
conn
->
url_len
);
offset
+=
conn
->
url_len
;
buffer
[
offset
++
]
=
0
;
req
->
BytesReceived
=
conn
->
req_len
;
}
...
...
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