Live data from Hacker News

Post Mortem: A single whitespace character

eatabit.com

1–10 of 209 posts

Re: Post Mortem: A single whitespace character

#2
I experienced a similar problem with a POP3 utility that I had written years ago. I had been appending an extra space to the end of each text line (before the CRLF ).

There were a few people using this utility with no problems until one day a particular POP3 server no longer tolerated my utility's malformed requests.

Re: Post Mortem: A single whitespace character

#3
Cowboy is quite a well respected we server of the Erlang flavor. I'd guess heroku rejiggered something in their stack, perhaps adding cowboy as a reverse proxy or load balancer in front of their junk.

Cowboy apparently shot yor no-good dirty sidewinding web requests in the face.

Re: Post Mortem: A single whitespace character

#6
The Server: cowboy tag is from an Erlang web server:

https://github.com/ninenines/cowboy/blob/master/src/cowboy_p...

I'm guessing around here would be interesting to add a test case to handle.

As far as whose server this is? I'd guess Heroku or AWS, though it's plenty possible T-Mobile could have devised some proxy to inspect traffic, but seems unlikely they would do so with Cowboy?

Re: Post Mortem: A single whitespace character

#7
This very example -- requests were technically illegal all the time without devs realizing, but something in the stack changed to start rejecting them -- demonstrates the fallacy of the "be liberal in what you accept, strict in what you issue" principal. If all the web servers involved had been strict in rejecting the illegal request from the start, they would have noticed the bug in development before deploying to firmware in the field.

Re: Post Mortem: A single whitespace character

#9
post #6

The Server: cowboy tag is from an Erlang web server: https://github.com/ninenines/cowboy/blob/master/src/cowboy_p... I'm guessing around here would be interesting to add a test case to handle. As far as whose server this is? I'd guess Heroku or AWS, though it's plenty possible T-Mobile could have devised some proxy to inspect traffic, but seems unlikely they would do so with Cowboy?

T-mobile is known to have, in the past at least, used Erlang. And Cowboy is one of the most popular web servers within that community at this point.
Post reply on HN