Note that there are some explanatory texts on larger screens.

plurals
  1. POHTTP server implementation: Mobile web browsers (e.g. Android standard) stop loading page resources
    text
    copied!<p>I've written a little web server for an embedded project that is supposed to provide a web based UI for the device. While everything works fine using a PC browser a mobile browser fails to load all the resources (e.g. css / js / images) that are associated with the page.</p> <p>My server supports persistent connections w/o pipelining of requests. Currently I have reduced the maximum number of parallel connections to 1, so only one request is answered at a time.</p> <p>My debug observation is that the client, after first requesting the *.html file and then a style sheet, stops requesting any further resources listed in the head. The client does not disconnect.</p> <p>Do you have any idea as to what kind of mistake I could be making a PC browser would tolerate and a mobile browser would not?</p> <p>I just read online that most mobile browsers actually implement and use pipelining. Thinking about it further I figured that my current implementation might have problems coping with pipelined requests. Considering the shortage of memory on my STM32 I reuse the receive buffer as send buffer. I will verify shortly... </p> <p>...Nope, despite what is said >>><a href="http://www.guypo.com/mobile/http-pipelining-big-in-mobile/" rel="nofollow">here</a>&lt;&lt;&lt;, I cannot verify that the android standard browser, Dolphin or Firefox for Android actually pipeline their requests on a "keep-alive" connection.</p> <p>One more thing... It works perfectly fine when running the emulator from the Android SDK (at least for Android 4.2.2)</p> <p>Please comment on any additional information you might need.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload