New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxy protocol info lost after first keep-alive request #899

Closed
bninja opened this Issue Sep 24, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@bninja
Contributor

bninja commented Sep 24, 2014

env:

  • python v2.7
  • gunicorn v19.1.1
  • gevent v1.0.1 worker type
  • keep-alive proxy-protcol'd lb (aws elb) in front of gunicorn

for multiple reqs during keep-alive session:

  • first parses req.proxy_protocol_info
  • subsequent reqs do not
    so workers see only proxy network info (REMOTE_ADDR, REMOTE_PORT ).

probably should save off from 1st and propagate to later requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment