Skip to content

Commit 4d1aa92

Browse files
committed
- Update brotli submodule
- Commend out trace output of header parsing time
1 parent 4980a7c commit 4d1aa92

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

HttpServ.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ void CHttpServ::OnDataReceived(TcpSocket* const pTcpSocket)
373373
const size_t nPosEndOfHeader = pConDetails->strBuffer.find("\r\n\r\n");
374374
if (nPosEndOfHeader != string::npos)
375375
{
376-
auto dwStart = chrono::high_resolution_clock::now();
376+
//auto dwStart = chrono::high_resolution_clock::now();
377377
// If we get here we should have a HTTP request in strPuffer
378378

379379
HeadList::iterator parLastHeader = end(pConDetails->HeaderList);
@@ -509,8 +509,8 @@ auto dwStart = chrono::high_resolution_clock::now();
509509
pConDetails->mutReqData->unlock();
510510
}
511511
}
512-
auto dwDif = chrono::high_resolution_clock::now();
513-
MyTrace("Time in ms for Header parsing ", (chrono::duration<float, chrono::milliseconds::period>(dwDif - dwStart).count()));
512+
//auto dwDif = chrono::high_resolution_clock::now();
513+
//MyTrace("Time in ms for Header parsing ", (chrono::duration<float, chrono::milliseconds::period>(dwDif - dwStart).count()));
514514
}
515515
else if (pConDetails->nContentsSoll == 0) // Noch kein End of Header, und kein Content empfangen
516516
{

0 commit comments

Comments
 (0)