Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libwebsockets
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Fork
libwebsockets
Commits
75006171
Commit
75006171
authored
12 years ago
by
Andy Green
Browse files
Options
Downloads
Patches
Plain Diff
trac 4 correct libebsocket_service_fd
Signed-off-by:
Andy Green
<
andy.green@linaro.org
>
parent
ab40eaa8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/libwebsockets.c
+5
-3
5 additions, 3 deletions
lib/libwebsockets.c
libwebsockets-api-doc.html
+5
-3
5 additions, 3 deletions
libwebsockets-api-doc.html
with
10 additions
and
6 deletions
lib/libwebsockets.c
+
5
−
3
View file @
75006171
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
libwebsockets-api-doc.html
+
5
−
3
View file @
75006171
...
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment