If I wanted to increase the amount of bytes logged by the sflow module
for the user agent to, say, 128 bytes, what would I need to change?
I tried changing this:
(in ngx_http_sflow.h)
#define SFLHTTP_MAX_USERAGENT_LEN 128
but I still get the user agent truncated at 64 bytes. Nor does it seem
like SFLHTTP_MAX_USERAGENT_LEN is used anywhere in the code (or any
SFLHTTP_MAX_* define).
I'm sure I could whack on it long enough to get it to work, but I ask
mainly because I don't want to cause some buffer/format/etc overflow
somewhere else down the line. Thanks!
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx