The documentation for spdylay_submit_request says that the caller has to know to set host or :host, etc.
Instead the caller should always set :method, :version, :host, :path, and :scheme and spdylay should downgrade those to the spdy2 names when spdy2 is in use.
Done. I also changed reception side: received SPDY/2 name/value pairs are converted to SPDY/3 style name/value pairs.
The callback functions receive SPDY/3 name/value pairs.
The documentation for spdylay_submit_request says that the caller has to know to set host or :host, etc.
Instead the caller should always set :method, :version, :host, :path, and :scheme and spdylay should downgrade those to the spdy2 names when spdy2 is in use.