Log the HTTP port for all requests, not just where auth required
On the contrary, we don’t care about logging ports for WebSockets.
It would be a bit more efficient to store the detected port into
g.port here and reuse it later in require_auth(), but OTOH that
would make the tests for require_auth a bit more complicated, since
before_request decorators are not automatically imported.
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
parent
dee9855a
No related branches found
No related tags found
Please register or sign in to comment