libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] MHD_add_connection multiple requests


From: Christian Grothoff
Subject: Re: [libmicrohttpd] MHD_add_connection multiple requests
Date: Thu, 02 Jan 2014 22:33:24 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10

On 01/02/2014 07:56 PM, Wolfgang Haupt wrote:
> Dear Christian,
> 
> thank you very much for your fast reply.
> 
> I guess my problem is that the connection where I get the first GET 
> request is still sending data, while the Mediaplayer is requesting 
> another range of data. This is usually OK if the client can
> establish the connections, because it just uses a new connection for
> the second (and all following) GETs.

Well, that should be no problem, unless you've limited the number of
connections per IP (which you can do in MHD) to a number that is too
small for your client. MHD can easily handle thousands of concurrent
requests.

>> your solution (HTTP with connection reversal is usually a pretty
>> insane thing to try as a solution for NAT in my book).
> Sounds bad for me, this is exactly what I wanted to do...
> 
> I know that MHD does not handle range-requests itself, I already
> managed to parse the range request add the right accept-ranges and
> send the correct data when there's no NAT between my server and the
> client.
> 
> Do you know of any alternativ approaches to solve such a problem?

I've not tried it personally, but I think you might want to look at
Pagekite: http://pagekite.net/


Happy hacking!

Christian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]