libmicrohttpd
[Top][All Lists]
Advanced

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

[libmicrohttpd] upgrading and life cycle of sockets


From: José Bollo
Subject: [libmicrohttpd] upgrading and life cycle of sockets
Date: Tue, 24 Nov 2020 15:23:12 +0100

Hi there,

After a switching protocol for web socket for example, libmicrohttp
keeps the socket under the table until a call to MHD_upgrade_action
(something, MHD_UPGRADE_ACTION_CLOSE).

So, it enforces to have a link to libmicrohttp when using such switched
protocol socket.

Is it possible to break that link? To tell libmicrohttp to forget and
clean things related to that socket and let far part of code use the
socket freely?

Best
José



reply via email to

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