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
ec2ea93b
Commit
ec2ea93b
authored
Oct 31, 2018
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 31, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webservices: Increase the maximum size of the channel writer buffer.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3b7fd4ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
channel.c
dlls/webservices/channel.c
+6
-1
No files found.
dlls/webservices/channel.c
View file @
ec2ea93b
...
...
@@ -1316,9 +1316,14 @@ static HRESULT init_writer( struct channel *channel )
WS_XML_WRITER_BUFFER_OUTPUT
buf
=
{{
WS_XML_WRITER_OUTPUT_TYPE_BUFFER
}};
WS_XML_WRITER_TEXT_ENCODING
text
=
{{
WS_XML_WRITER_ENCODING_TYPE_TEXT
},
WS_CHARSET_UTF8
};
WS_XML_WRITER_BINARY_ENCODING
bin
=
{{
WS_XML_WRITER_ENCODING_TYPE_BINARY
}};
WS_XML_WRITER_PROPERTY
prop
;
ULONG
max_size
=
(
1
<<
17
);
HRESULT
hr
;
if
(
!
channel
->
writer
&&
(
hr
=
WsCreateWriter
(
NULL
,
0
,
&
channel
->
writer
,
NULL
))
!=
S_OK
)
return
hr
;
prop
.
id
=
WS_XML_WRITER_PROPERTY_BUFFER_MAX_SIZE
;
prop
.
value
=
&
max_size
;
prop
.
valueSize
=
sizeof
(
max_size
);
if
(
!
channel
->
writer
&&
(
hr
=
WsCreateWriter
(
&
prop
,
1
,
&
channel
->
writer
,
NULL
))
!=
S_OK
)
return
hr
;
switch
(
channel
->
encoding
)
{
...
...
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