Maxim Dounin mdounin at mdounin.ru
Tue Jan 12 12:55:12 UTC 2016


On Mon, Jan 11, 2016 at 11:21:35PM -0500, tammini wrote:

> Does that mean once a websocket connection is opened successfully, any
> subsequent requests sent on that connection cannot be logged ?

No HTTP requests can be sent into a connection which was upgraded 
to a WebSocket connection.  It's a one way operation.  Anything 
inside a websocket connection happens more or less as a body of 
the HTTP request (and the response).

(Note well that there are no requests inside WebSocket connections.  
WebSockets use frames to ensure data delivery, and doesn't specify 
anything else.  And, as previously said, nginx doesn't try to parse 
and/or log anything inside WebSocket connections.)

Maxim Dounin

More information about the nginx mailing list