#18540: uhttpd keep reading file even if client disconnected
----------------------+------------------------
 Reporter:  xuefer    |      Owner:  developers
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:
Component:  packages  |    Version:  Trunk
 Keywords:            |
----------------------+------------------------
 under uhttpd web folder, put a big file which should take some time to
 finish reading so we have time to test
 on server: strace -fp `pidof uhttpd`
 on client: curl http://...../test -o /tmp/a, then ctrl+c

 before ctrl+c, strace outputs read/write repeatly
 after+c, strace outputs read repeatly which is not expected, it should
 close fd because the connection is already closed by client

--
Ticket URL: <https://dev.openwrt.org/ticket/18540>
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