Re: nginx erroneously reports period character as illegal in request headers

2018-03-20 Thread mblancett
To clarify, by 'illegal' I meant non-compliant. These headers _are_ used, as we have run into them in production in our business coming from clients, and some time on stack overflow shows these are becoming more and more common. They are also RFC-compliant, and competing products support them. Po

nginx erroneously reports period character as illegal in request headers

2018-03-19 Thread mblancett
Hello - Nginx is reporting invalid incoming headers with RFC-compliant headers that use a '.' (meaning, a period) within the name. As an example, I am curling to a very basic proxy setup while trailing the error log: The following is valid: # curl -vvvH "a-b-c: 999" localhost:81/test/v01 * Abo

Options for selective logging

2017-09-19 Thread mblancett
I am looking for ways to target every Nth request into a very busy proxy within an nginx configuration. This particular proxy is extremely busy and receives POSTs to a single URI, and taking an approach like sharding by IP would not be the kind of traffic sample we’re after. The long term goal her