libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] upgrading and life cycle of sockets


From: Christian Grothoff
Subject: Re: [libmicrohttpd] upgrading and life cycle of sockets
Date: Tue, 24 Nov 2020 23:12:43 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0

On 11/24/20 4:50 PM, José Bollo wrote:
> What about if in some future an option to MHD_upgrade_action would
> enable to "extract" the socket? Something like:
> 
>       MHD_upgrade_action (urh, MHD_UPGRADE_ACTION_OWN_SOCKET);
> 
> with a clear semantic on the implications that it has on half-closing.

I'm not sure it's needed. What's wrong with dup()?

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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