timestamp http requests

This commit is contained in:
UbitUmarov
2020-05-15 23:40:19 +01:00
parent 7098091616
commit 48892ad8a7
9 changed files with 18 additions and 0 deletions

View File

@@ -197,6 +197,7 @@ namespace OSHttpServer
m_currentRequest.UriPath = e.UriPath;
m_currentRequest.AddHeader("remote_addr", LocalIPEndPoint.Address.ToString());
m_currentRequest.AddHeader("remote_port", LocalIPEndPoint.Port.ToString());
m_currentRequest.ArrivalTS = ContextTimeoutManager.GetTimeStamp();
FirstRequestLineReceived = true;
TriggerKeepalive = false;