[Libwebsockets] [libwebsockets] #67: XMLHttpRequest GET request cannot set Uri-Args on same route

Trac trac at libwebsockets.org
Mon Apr 21 01:15:00 CEST 2014


#67: XMLHttpRequest GET request cannot set Uri-Args on same route
-------------------------------------+-----------------
  Reporter:  ogtifs                  |      Owner:
      Type:  defect                  |     Status:  new
  Priority:  major                   |  Milestone:
 Component:  libwebsocket test apps  |    Version:
Resolution:                          |   Keywords:
-------------------------------------+-----------------

Comment (by agreen):

 Not 100% sure I understand the flow of what you're doing.

 So one HTTP GET happens to localhost:7681/?test=asdf which sends a page of
 HTML with some Javascript in it.

 That Javascript makes a new HTTP connection (because lws only knows
 HTTP1.0 drop-after-sending semantic) to localhost:7681/?anything=else, but
 in the HTTP callback for that second connection, he still somehow tells
 the URI_ARGS for it is "test=asdf"?

 Can you send me a patch on the test-server test.html with the necessary JS
 to reproduce it?

--
Ticket URL: <http://libwebsockets.org/trac/libwebsockets/ticket/67#comment:1>
libwebsockets <http://libwebsockets.org>
libwebsockets C library



More information about the Libwebsockets mailing list