Skip to content
Snippets Groups Projects
Commit 75006171 authored by Andy Green's avatar Andy Green
Browse files

trac 4 correct libebsocket_service_fd

parent ab40eaa8
No related branches found
No related tags found
No related merge requests found
......@@ -674,9 +674,11 @@ libwebsocket_service_timeout_check(struct libwebsocket_context *context,
* @pollfd: The pollfd entry describing the socket fd and which events
* happened.
*
* This function closes any active connections and then frees the
* context. After calling this, any further use of the context is
* undefined.
* This function takes a pollfd that has POLLIN or POLLOUT activity and
* services it according to the state of the associated struct libwebsocket.
*
* The one call deals with all "service" that might happen on a socket
* including listen accepts, http files as well as websocket protocol.
*/
int
......
......@@ -55,9 +55,11 @@ happened.
</dl>
<h3>Description</h3>
<blockquote>
This function closes any active connections and then frees the
context. After calling this, any further use of the context is
undefined.
This function takes a pollfd that has POLLIN or POLLOUT activity and
services it according to the state of the associated struct libwebsocket.
<p>
The one call deals with all "service" that might happen on a socket
including listen accepts, http files as well as websocket protocol.
</blockquote>
<hr>
<h2>libwebsocket_context_destroy - Destroy the websocket context</h2>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment