Skip to content
This repository was archived by the owner on Jun 22, 2020. It is now read-only.

Commit df9dec8

Browse files
committed
Added raw data logging to WinHttpSendRequest
1 parent 7f154e4 commit df9dec8

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed
0 Bytes
Binary file not shown.

Eldorado.HttpProxy/source/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ BOOL WINAPI WinHttpSendRequest(
189189
char* pBody = static_cast<char*>(lpOptional);
190190
std::string body = dwOptionalLength == -1 ? std::string(pBody) : std::string(pBody, dwOptionalLength);
191191
theLogger().LogFormatA("WinHttpSendRequest(%x, ...) called with body: %s", hRequest, body.c_str());
192+
theLogger().LogRawData(L"sr_", pBody, dwOptionalLength);
192193

193194
return oWinHttpSendRequest(
194195
hRequest,

0 commit comments

Comments
 (0)