Ragnar Rova
b608eb1772
OSX 10.11 supports TCP_FASTOPEN
...
But does not define SOL_TCP.
IPPROTO_TCP is the equivalent.
2015-07-15 21:54:39 +02:00
Roberto De Ioris
3de97b9f7e
fixed shared sockets for gateways
2015-06-03 07:23:48 +02:00
Riccardo Magliocchetti
a0386be0a8
Revert "socket: use fchmod to avoid chmod TOCTOU race"
...
Using fchmod on sockets is not portable
This reverts commit 00e7c54f7c .
2015-05-01 14:24:38 +02:00
Riccardo Magliocchetti
00e7c54f7c
socket: use fchmod to avoid chmod TOCTOU race
...
Reported by flawfinder
2015-04-30 18:53:43 +02:00
Riccardo Magliocchetti
b82c64db86
Fix leak on error in bind_to_unix
...
Spotted by cppcheck.
2014-12-08 16:55:10 +01:00
Roberto De Ioris
ff36c8a779
fixed #749
2014-10-16 20:54:19 +02:00
Roberto De Ioris
34d254fe21
added http11 protocol support
2014-10-04 11:45:29 +02:00
Unbit
4eef332850
allow passing a socket via emperor proxy
2014-09-15 06:04:22 +02:00
Unbit
293464f54e
revert emperor check for fd0
2014-09-15 05:23:16 +02:00
Unbit
b1a40107d3
added config pipe support for dir imperial monitor
2014-09-13 16:50:31 +02:00
Unbit
b12c39607d
less invasive privileges drop when chown-socket is in place
2014-05-22 09:00:43 +02:00
Roberto De Ioris
224260ce3e
postpone uwsgi_as_root() call
2014-05-22 05:43:45 +02:00
Unbit
a0fafe7847
try to honour chmod/chown socket in fd0 mode
2014-05-21 12:35:01 +02:00
Unbit
260b49c3f6
more clear error report when unix sockets are not removable
2014-01-13 06:38:27 +01:00
Kaarle Ritvanen
7553ce3a48
option for closing server sockets when spawning
...
If server fd is not closed, it is not possible to restart uwsgi if the
spawned process is still running as it keeps the address/port bound.
2014-01-02 12:29:50 +02:00
Kaarle Ritvanen
4f4f9b93aa
core/socket: move SO_REUSEADDR setting to create_server_socket
2014-01-02 00:51:52 +02:00
Kaarle Ritvanen
51a8f31f17
core/socket: move listen queue size checking to create_server_socket
2014-01-02 00:51:52 +02:00
Kaarle Ritvanen
32b7126836
core/socket: move socket buffer size setting to create_server_socket
2014-01-02 00:47:22 +02:00
Kaarle Ritvanen
4d43a66581
core/socket: common socket creation function for bind_to_*
2014-01-02 00:08:32 +02:00
Unbit
61f3d162a4
getting rid og dynamic options (step 1)
2013-12-26 16:48:50 +01:00
Unbit
33a6195e44
improvements in SCM_CREDENTIALS subscription system
2013-12-15 06:31:33 +01:00
Unbit
e606d1e5d1
removal of embedded zeromq api
2013-11-18 11:11:46 +01:00
Unbit
422e958fe3
added uwsgi over SSL
2013-11-13 04:46:27 +01:00
Unbit
7685af4652
pluginized the socket protocols
2013-11-12 05:44:52 +01:00
Unbit
6ec32e192f
added puwsgi protocol
2013-10-17 10:15:34 +02:00
Unbit
e3848e84d3
expose more clone() flags
2013-10-03 10:42:55 +02:00
Unbit
3cc971ba55
raw sockets must be undeferred
2013-09-30 15:01:58 +02:00
Unbit
23b3d7483f
introducing raw mode
2013-09-30 13:43:13 +02:00
Unbit
4ad2658090
added master fifo
2013-09-18 11:08:56 +02:00
Unbit
8918e81256
first attempt to change from strtok to strtok_r
2013-09-17 15:00:33 +02:00
Unbit
03a4e900ea
fixed #378
2013-09-16 11:50:37 +02:00
Unbit
fba82c203c
minor improvements
2013-09-14 08:43:09 +02:00
unbit
d2a8df19ea
prepare for advanced hooks
2013-09-06 11:03:02 +02:00
Unbit
0441e88b82
track unix sockets inode to reduce accidental removal on vacuum
2013-08-23 14:28:01 +02:00
Unbit
cd09b4a55d
more user-friendly error message for undeletable unix sockets
2013-07-17 16:30:25 +02:00
Unbit
b0abab7a1d
fixed #277
2013-05-12 22:57:07 +02:00
Unbit
63dfe7628b
added uwsgi_connect_udp
2013-05-06 15:22:13 +02:00
Unbit
b23e8ab862
added --socket-sndbuf and --socket-rcvbuf
2013-04-08 20:41:54 +02:00
Unbit
e951eba96c
improved emperor on demand mode
2013-03-22 14:56:49 +01:00
Unbit
207220bc50
fixed #180
2013-03-12 11:45:03 +01:00
Unbit
2a9835649e
added --tcp-nodelay
2013-02-23 15:50:34 +01:00
Unbit
5089123e5a
prepare for ipv6 support in corerouters
2013-02-18 18:21:57 +01:00
Unbit
d15f1a9e36
prepare for SCGI support
2013-02-15 17:53:06 +01:00
Unbit
639f26ff26
improved fastcgi support
2013-02-14 20:08:35 +01:00
Unbit
7d8a2968d5
first part of the fastcgi porting to the new api
2013-02-14 17:30:23 +01:00
Unbit
d4130dbc4b
first round of protocol parsers optimizations
...
preliminary api for language-independent body read
another step
completed body read language independent implementation
ported gevent to the new read/write api
ported websockets to the new read/write api
removed channels subsystem
removed channels subsystem
ported lua to the new read/write api
fixed post-buffering
readline is still broken
improved request body readline
very difficult test for readline()/read() combo passed
other improvements in postbuffering/read/readline
ported --http-socket to the new api
added X-Forwarded-SSL management
removed old api
more refactoring
ported the RACK plugin to the new api
ported psgi plugin to the new api
defintely removed clustering
simpified ifdel hell
simpified ifdef hell
removed useless configuration options
2013-02-03 10:38:13 +01:00
Riccardo Magliocchetti
89dfa7976a
core/socket: fix a couple of memory leaks
...
Reported by Coverity as CID #971053 , #971054 .
2013-01-27 11:54:48 +01:00
Roberto De Ioris
c9987aa721
ported http-socket to the new api
2013-01-20 14:35:06 +01:00
Roberto De Ioris
876f775698
solid sendfile for the new api
2013-01-19 20:59:53 +01:00
Roberto De Ioris
2bd714c610
new writer api
2013-01-19 19:06:06 +01:00