Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Weird responses when sending more than one request to a Cowboy server #143
I'm getting some unexpected results when firing HTTPoison request()'s within 1 second of each other. Every second request I am consistently seeing some sort of cached response, where it falls and hits one of my cases, but it doesn't ping the URL at all.
P.S. I wait until the request is fully complete on both sides before hitting it again.
Upon further inspection it's started falling through to the catch all clause.
Phoenix fains no indication that a request reached it, so I guess Cowboy is intervening before it reached phoenix, but i'm not sure why the HTTP version would not be valid.