#18040: uhttpd-mod-lua or sth related don't work correctly on barrier breaker
--------------------------+-----------------------------------
  Reporter:  Varlan       |      Owner:  developers
      Type:  defect       |     Status:  closed
  Priority:  normal       |  Milestone:
 Component:  base system  |    Version:  Barrier Breaker 14.07
Resolution:  invalid      |   Keywords:  lua uhttpd
--------------------------+-----------------------------------

Comment (by Varlan):

 Replying to [comment:1 jow]:
 > The "wifi-tagger" code is broken, it does not append the \r\n characters
 to the HTTP header line.
 > The uhttpd versions in AA was a bit less strict with parsing script
 output, thats probably why it worked there.
 >
 > You also need to replace all uhttpd.send("HTTP/1.0 ...") with
 uhttpd.send("Status: ...\r\n")

 Thanks a lot. After replace uhttpd.send("HTTP/1.0 ...") with
 uhttpd.send("Status: ...\r\n"), it works now. I've to learn more about web
 and lua.

 This ticket is a duplication of #13537 "uhttpd mod_lua randomly generates
 "Bad Gateway"" which I have seen before I post this question, but the word
 "randomly" made me overlook it.

--
Ticket URL: <https://dev.openwrt.org/ticket/18040#comment:2>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to