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
a5359f36
Commit
a5359f36
authored
Aug 03, 2022
by
Shaun Ren
Committed by
Alexandre Julliard
Aug 05, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webservices: Address the request message in WsCall.
Signed-off-by:
Shaun Ren
<
sren@codeweavers.com
>
parent
e4ff5f1e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
channel.c
dlls/webservices/channel.c
+6
-0
proxy.c
dlls/webservices/proxy.c
+1
-0
webservices_private.h
dlls/webservices/webservices_private.h
+1
-0
No files found.
dlls/webservices/channel.c
View file @
a5359f36
...
@@ -3041,3 +3041,9 @@ HRESULT channel_accept_udp( SOCKET socket, HANDLE wait, HANDLE cancel, WS_CHANNE
...
@@ -3041,3 +3041,9 @@ HRESULT channel_accept_udp( SOCKET socket, HANDLE wait, HANDLE cancel, WS_CHANNE
LeaveCriticalSection
(
&
channel
->
cs
);
LeaveCriticalSection
(
&
channel
->
cs
);
return
hr
;
return
hr
;
}
}
HRESULT
channel_address_message
(
WS_CHANNEL
*
handle
,
WS_MESSAGE
*
msg
)
{
struct
channel
*
channel
=
(
struct
channel
*
)
handle
;
return
WsAddressMessage
(
msg
,
&
channel
->
addr
,
NULL
);
}
dlls/webservices/proxy.c
View file @
a5359f36
...
@@ -426,6 +426,7 @@ static HRESULT send_message( WS_CHANNEL *channel, WS_MESSAGE *msg, WS_MESSAGE_DE
...
@@ -426,6 +426,7 @@ static HRESULT send_message( WS_CHANNEL *channel, WS_MESSAGE *msg, WS_MESSAGE_DE
WS_XML_WRITER
*
writer
;
WS_XML_WRITER
*
writer
;
HRESULT
hr
;
HRESULT
hr
;
if
((
hr
=
channel_address_message
(
channel
,
msg
))
!=
S_OK
)
return
hr
;
if
((
hr
=
message_set_action
(
msg
,
desc
->
action
))
!=
S_OK
)
return
hr
;
if
((
hr
=
message_set_action
(
msg
,
desc
->
action
))
!=
S_OK
)
return
hr
;
if
((
hr
=
WsCreateWriter
(
NULL
,
0
,
&
writer
,
NULL
))
!=
S_OK
)
return
hr
;
if
((
hr
=
WsCreateWriter
(
NULL
,
0
,
&
writer
,
NULL
))
!=
S_OK
)
return
hr
;
if
((
hr
=
set_output
(
writer
))
!=
S_OK
)
goto
done
;
if
((
hr
=
set_output
(
writer
))
!=
S_OK
)
goto
done
;
...
...
dlls/webservices/webservices_private.h
View file @
a5359f36
...
@@ -168,6 +168,7 @@ HRESULT message_map_http_response_headers( WS_MESSAGE *, HINTERNET, const WS_HTT
...
@@ -168,6 +168,7 @@ HRESULT message_map_http_response_headers( WS_MESSAGE *, HINTERNET, const WS_HTT
HRESULT
channel_send_message
(
WS_CHANNEL
*
,
WS_MESSAGE
*
)
DECLSPEC_HIDDEN
;
HRESULT
channel_send_message
(
WS_CHANNEL
*
,
WS_MESSAGE
*
)
DECLSPEC_HIDDEN
;
HRESULT
channel_receive_message
(
WS_CHANNEL
*
,
WS_MESSAGE
*
)
DECLSPEC_HIDDEN
;
HRESULT
channel_receive_message
(
WS_CHANNEL
*
,
WS_MESSAGE
*
)
DECLSPEC_HIDDEN
;
HRESULT
channel_get_reader
(
WS_CHANNEL
*
,
WS_XML_READER
**
)
DECLSPEC_HIDDEN
;
HRESULT
channel_get_reader
(
WS_CHANNEL
*
,
WS_XML_READER
**
)
DECLSPEC_HIDDEN
;
HRESULT
channel_address_message
(
WS_CHANNEL
*
,
WS_MESSAGE
*
)
DECLSPEC_HIDDEN
;
HRESULT
parse_url
(
const
WS_STRING
*
,
WS_URL_SCHEME_TYPE
*
,
WCHAR
**
,
USHORT
*
)
DECLSPEC_HIDDEN
;
HRESULT
parse_url
(
const
WS_STRING
*
,
WS_URL_SCHEME_TYPE
*
,
WCHAR
**
,
USHORT
*
)
DECLSPEC_HIDDEN
;
...
...
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