contiki/apps/webbrowser
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
..
html-strings Removed support for <FRAME> tag. 2015-05-25 16:19:30 +02:00
html-strings.c Removed support for <FRAME> tag. 2015-05-25 16:19:30 +02:00
html-strings.h Removed support for <FRAME> tag. 2015-05-25 16:19:30 +02:00
htmlparser.c Further improved parsing of <SCRIPT> tag. 2015-06-07 00:23:44 +02:00
htmlparser.h
http-strings Recognize HTTPS. 2015-06-05 16:26:20 +02:00
http-strings.c Recognize HTTPS. 2015-06-05 16:26:20 +02:00
http-strings.h Recognize HTTPS. 2015-06-05 16:26:20 +02:00
http-user-agent-string Bumped the version number from 2.6 to 3.x, which is to be used in the development branch 2013-12-12 17:33:18 +01:00
http-user-agent-string.c Bumped the version number from 2.6 to 3.x, which is to be used in the development branch 2013-12-12 17:33:18 +01:00
http-user-agent-string.h
Makefile.webbrowser
webclient.c Client requested close takes precedence over server initiated close. 2015-11-01 15:34:09 +01:00
webclient.h
www-dsc.c
www-dsc.h
www.c Just some minor optimizations. 2015-11-01 15:18:29 +01:00
www.h Set WWW_CONF_MAX_URLLEN to maximum value by default. 2015-04-29 18:21:35 +02:00