Actions
Bug #2228
closed%p in accesslog.format does not correctly split the port off ipv6 sockets
ASK QUESTIONS IN Forums:
Description
Hello,
I'm using "%p" in my 'accesslog.format' string to see, how many people actually use SSL. Since I bound lighttpd to a specific IPv6 address (via 'server.bind'), I find strings like the following in the %p column of my log:
cdef:6789::1:80
So it seems like the socket address is split at the first colon instead of the last one. A quick workaround would probably be to replace 'strchr' with 'strrchr' here:
Regards,
Jo.
Updated by stbuehler over 14 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset r2734.
Actions
Also available in: Atom