osd-contiki/apps
Oliver Schmidt 1066bb1a0b Client requested close takes precedence over server initiated close.
When the client has already called webclient_close() it doesn't expect to have webclient_datahandler(NULL, 0) called just because the connection was closed by the server "at the same time". Rather it expects to always have webclient_closed() called.

Calling webclient_datahandler(NULL, 0) instead of webclient_closed() means that the web browser shows "Done" in the status line instead of "Stopped". So the user is mislead to think that he has already seen all of the page.

Note: webclient_close() is called by the client during newdata() so the already existing check for WEBCLIENT_STATE_CLOSE further above doesn't help.
2015-11-01 15:34:09 +01:00
..
about A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
antelope Avoid compilation warnings in Antelope. 2014-09-05 18:21:47 +02:00
calc A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
cmdd A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
codeprop Added MSP430X ELFLOADER support to load image with large memory model. 2015-06-15 17:53:18 +05:30
collect-view Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
deluge Changed the parameter 'char * data' of process_start to the 2014-06-12 13:40:28 +02:00
dhcp Fix DHCP client retries. 2015-06-21 14:25:52 +02:00
directory A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
email Moved the ctk files from core/lib into core/lib/ and core/lib/libconio 2014-01-26 23:20:46 +01:00
er-coap Merge pull request #1243 from unmole/coap_fix 2015-10-23 17:58:15 +02:00
ftp Updated include paths for the moved files under net/ 2014-01-26 23:20:23 +01:00
http-post-auth Changed the parameter 'char * data' of process_start to the 2014-06-12 13:40:28 +02:00
httpd-ws A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
irc Moved the ctk files from core/lib into core/lib/ and core/lib/libconio 2014-01-26 23:20:46 +01:00
json New MACRO for creating jsontree_array 2014-02-26 19:38:10 +01:00
mqtt Move MAX, MIN and ABS to sys/cc.h 2015-05-18 08:53:17 +02:00
netconf Integrates uip-nameserver API 2015-01-09 09:44:06 +01:00
ping6 A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
powertrace Cleanup packetbuf: use rime attributes and addresses only when rime is enabled. Saves 32 byte per queuebuf in the non-rime case. 2014-12-02 16:54:58 +01:00
process-list A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
program-handler [doc] Give files a common structure by placing license first (partial) 2014-11-10 23:54:49 +01:00
rest-engine Made rest-engine handle multiple init without dropping resources. 2015-09-24 22:51:30 +02:00
serial-shell [doc] Give files a common structure by placing license first (partial) 2014-11-10 23:54:49 +01:00
servreg-hack Doxygen fixes 2014-12-02 12:39:16 +01:00
shell Reconfigured Telnet server. 2015-06-21 21:07:41 +02:00
slip-cmd Updated include paths for the moved files under net/ 2014-01-26 23:20:23 +01:00
telnet A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
telnetd Added missing charset abstraction. 2015-07-16 17:55:26 +02:00
unit-test Do not return test execution status. The information is already available in the test object, and it becomes possible for test function to easily clean up state allocated during the test by putting such code after UNIT_TEST_END. 2011-12-01 14:40:54 +01:00
webbrowser Client requested close takes precedence over server initiated close. 2015-11-01 15:34:09 +01:00
webserver Made server variant of HTTP strings a superset of the client variant again. 2015-06-08 14:29:34 +02:00
webserver-nano Adding a gitattributes and correcting line-endings 2015-09-07 15:40:02 +02:00