Skip to content

Instantly share code, notes, and snippets.

@lestrrat
Last active August 29, 2015 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lestrrat/12aa2aa51f42f4ec8e19 to your computer and use it in GitHub Desktop.
Save lestrrat/12aa2aa51f42f4ec8e19 to your computer and use it in GitHub Desktop.
# At this point I'm just inching towards sending a request to the upstream.
# So first goal is to make http1client_connect() to succeed...
# Instead I get this.
# I wonder why chunked.on_setup_ostream is being called twice, thus (I believe
# is causing the assert to fail)
# Note: upstream server is NOT running, so I'm expecting a failure to connect.
shoebill% ./h2o
Creating filter of size 40
inserted new filter at 1
h2o_rproxy_on_config_rproxy called
Creating filter of size 40
inserted new filter at 2
* chunked.on_setup_ostream
self = 0x7ffc0b517030, filters.entries[0] = 0x7ffc0b517030
- h2o_rproxy_on_setup_ostream
self = 0x7ffc0b517da0, filters.entries[1] = 0x7ffc0b517da0
h2o_rproxy_do_send
looking for context on 3: 0x7ffc0b5013e0
* chunked.on_setup_ostream
self = 0x7ffc0b517030, filters.entries[1] = 0x7ffc0b517da0
Assertion failed: (self == req->host_config->filters.entries[req->_ostr_init_index]), function h2o_setup_next_ostream, file /Users/daisuke/dev/src/github.com/h2o/h2o/include/h2o.h, line 815.
zsh: abort ./h2o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment