Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
mongoose
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ganil-acq
GANILinux
linux-service
library
mongoose
Commits
62085e52
Commit
62085e52
authored
12 years ago
by
Sergey Lyubka
Browse files
Options
Downloads
Patches
Plain Diff
updated user manual
parent
d036f8a3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
UserManual.md
+8
-0
8 additions, 0 deletions
UserManual.md
with
8 additions
and
0 deletions
UserManual.md
+
8
−
0
View file @
62085e52
...
@@ -488,6 +488,14 @@ by the master thread. `process_new_connection()` actually processes the
...
@@ -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
connection, i.e. reads the request, parses it, and performs appropriate action
depending on a parsed request.
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
# Other Resources
-
Presentation made by Arnout Vandecappelle at FOSDEM 2011 on 2011-02-06
-
Presentation made by Arnout Vandecappelle at FOSDEM 2011 on 2011-02-06
...
...
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