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
5e3cc883
Commit
5e3cc883
authored
Feb 16, 2024
by
Paul Gofman
Committed by
Alexandre Julliard
Feb 20, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Force debug info in critical sections.
parent
7c7b2e8e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
request.c
dlls/winhttp/request.c
+1
-1
session.c
dlls/winhttp/session.c
+1
-1
No files found.
dlls/winhttp/request.c
View file @
5e3cc883
...
@@ -6096,7 +6096,7 @@ HRESULT WinHttpRequest_create( void **obj )
...
@@ -6096,7 +6096,7 @@ HRESULT WinHttpRequest_create( void **obj )
if
(
!
(
request
=
calloc
(
1
,
sizeof
(
*
request
)
)))
return
E_OUTOFMEMORY
;
if
(
!
(
request
=
calloc
(
1
,
sizeof
(
*
request
)
)))
return
E_OUTOFMEMORY
;
request
->
IWinHttpRequest_iface
.
lpVtbl
=
&
winhttp_request_vtbl
;
request
->
IWinHttpRequest_iface
.
lpVtbl
=
&
winhttp_request_vtbl
;
request
->
refs
=
1
;
request
->
refs
=
1
;
InitializeCriticalSection
(
&
request
->
cs
);
InitializeCriticalSection
Ex
(
&
request
->
cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
request
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": winhttp_request.cs"
);
request
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": winhttp_request.cs"
);
initialize_request
(
request
);
initialize_request
(
request
);
...
...
dlls/winhttp/session.c
View file @
5e3cc883
...
@@ -319,7 +319,7 @@ HINTERNET WINAPI WinHttpOpen( LPCWSTR agent, DWORD access, LPCWSTR proxy, LPCWST
...
@@ -319,7 +319,7 @@ HINTERNET WINAPI WinHttpOpen( LPCWSTR agent, DWORD access, LPCWSTR proxy, LPCWST
session
->
websocket_receive_buffer_size
=
32768
;
session
->
websocket_receive_buffer_size
=
32768
;
session
->
websocket_send_buffer_size
=
32768
;
session
->
websocket_send_buffer_size
=
32768
;
list_init
(
&
session
->
cookie_cache
);
list_init
(
&
session
->
cookie_cache
);
InitializeCriticalSection
(
&
session
->
cs
);
InitializeCriticalSection
Ex
(
&
session
->
cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
session
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": session.cs"
);
session
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": session.cs"
);
if
(
agent
&&
!
(
session
->
agent
=
wcsdup
(
agent
)))
goto
end
;
if
(
agent
&&
!
(
session
->
agent
=
wcsdup
(
agent
)))
goto
end
;
...
...
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