[En-Nut-Discussion] uHTTP library One more questions

Ole Reinhardt ole.reinhardt at embedded-it.de
Wed Sep 12 14:18:08 CEST 2012


Hi Harald,

There are some more questions concerning the UHTTP library:

Number of HTTP client connections:

When I call 

StreamClientAccept(HttpdClientHandler, NULL);

This function is blocking and starts only one thread which is listening
for incomming requests. I now observed, that when accessing a little
website with Firefox, not all requests seem to be answered.

I suppose that some requests might get missed, when they are initiated
at the same time even though TCP backlog is enabled.

Shouldn't the server create more than one thread?



Media Types:
============

There is a list of default media types. Some of them use an empty
sub-type like "css" for example.

The media type for CSS should be text/css

Shouldn't the sub-type be "css" in this case?


Best regards,

Ole

-- 

Thermotemp GmbH, Embedded-IT

Embedded Hard-/ Software and Open Source Development, 
Integration and Consulting

http://www.embedded-it.de

Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen - 
tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97

Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280 




More information about the En-Nut-Discussion mailing list