mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
1066bb1a0b
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. |
||
---|---|---|
.. | ||
html-strings | ||
html-strings.c | ||
html-strings.h | ||
htmlparser.c | ||
htmlparser.h | ||
http-strings | ||
http-strings.c | ||
http-strings.h | ||
http-user-agent-string | ||
http-user-agent-string.c | ||
http-user-agent-string.h | ||
Makefile.webbrowser | ||
webclient.c | ||
webclient.h | ||
www-dsc.c | ||
www-dsc.h | ||
www.c | ||
www.h |