summaryrefslogtreecommitdiff
path: root/relay.c
AgeCommit message (Collapse)Author
2014-03-21relay: do forward data if the http request type was HEADFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-06-01relay: cancel the timeout on freeFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-05-23relay: do not process headers after the first errorFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-05-23relay: fix close handlingFelix Fietkau
When the relay process has exited, close the connection as soon as no data can immediately be read from the socket anymore, and the read buffer has been emptied. This fixes timeouts with scripts that leave processes lingering around without closing their fds. Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-03-15relay: add a missing buffer availability checkFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-01-19do not relay empty chunks, they look like EOF in chunked encodingFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-01-19implement support for script timeout for cgi/luaFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-01-13relicense to ISCFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-01-13poll ustream after the process dies to fix eof detectionFelix Fietkau
2013-01-04fix relay ustream initializationFelix Fietkau
2013-01-01consume the newline (overwritten with 0-byte) after receiving cgi process ↵Felix Fietkau
headers
2013-01-01fix line length calculationFelix Fietkau
2013-01-01add preliminary cgi support, needs fixing for close handlingFelix Fietkau