Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
62085e52
Commit
62085e52
authored
Mar 06, 2013
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated user manual
parent
d036f8a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
UserManual.md
UserManual.md
+8
-0
No files found.
UserManual.md
View file @
62085e52
...
...
@@ -488,6 +488,14 @@ by the master thread. `process_new_connection()` actually processes the
connection, i.e. reads the request, parses it, and performs appropriate action
depending on a parsed request.
Master thread uses
`poll()`
and
`accept()`
to accept new connections on
listening sockets.
`poll()`
is used to avoid
`FD_SETSIZE`
limitation of
`select()`
. Since there are only a few listening sockets, there is no reason
to use hi-performance alternatives like
`epoll()`
or
`kqueue()`
. Worker
threads use blocking IO on accepted sockets for reading and writing data.
All accepted sockets have
`SO_RCVTIMEO`
and
`SO_SNDTIMEO`
socket options set
(controlled by
`request_timeout_ms`
mongoose option, 30 seconds default) which
specify read/write timeout on client connection.
# Other Resources
-
Presentation made by Arnout Vandecappelle at FOSDEM 2011 on 2011-02-06
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment