Don't pass req in open handler

This commit is contained in:
Alex Hultman
2020-06-02 12:59:36 +02:00
parent 6735bad79c
commit 625efbc499
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -270,7 +270,7 @@ public:
/* Emit open event and start the timeout */
if (webSocketContextData->openHandler) {
webSocketContextData->openHandler(webSocket, /*req*/ nullptr);
webSocketContextData->openHandler(webSocket);
}
// if we weren't corked then uncork here! otherwise we were called from httpContext!