JINMEI Tatuya
|
f709af9e07
[1452] fixed another error handling issue: make sure the passed FD (if
|
13 years ago |
JINMEI Tatuya
|
267a466b3e
[1452] fixed some more corner cases in receiver::pop that have been missed:
|
13 years ago |
JINMEI Tatuya
|
5050c96075
[1452] added a clarification comment on assert+strncpy; use offsetof instead
|
13 years ago |
JINMEI Tatuya
|
43df0d5564
[1452] added missing config.h (otherwise HAVE_SA_LEN wouldn't be recognized).
|
13 years ago |
JINMEI Tatuya
|
2b4c9db386
[1452] use sizeof(uint16_t) instead of a magic number '2'
|
13 years ago |
JINMEI Tatuya
|
8fda3f02ea
[1452] use a larger number of send attempts for pushTooFast. Linux doubles the
|
13 years ago |
JINMEI Tatuya
|
a27ddbc73f
[1452] use cxxx instead xxx.h as much as possible
|
13 years ago |
JINMEI Tatuya
|
1a05959b27
[1452] use camel style for template type parameter
|
13 years ago |
JINMEI Tatuya
|
39db78f602
[1452] renamed "Receptor" to "Receiver" as a result of review
|
13 years ago |
Michal 'vorner' Vaner
|
0bcc177400
[1452] Fix makefile
|
13 years ago |
JINMEI Tatuya
|
9176c84be6
[1452] some more comment cleanups
|
13 years ago |
JINMEI Tatuya
|
ed5fa95326
[1452] overall documentation update
|
13 years ago |
JINMEI Tatuya
|
4d5f96b4d0
[1452] impose upper limit on the data length for SocketSessionForwarder::push,
|
13 years ago |
JINMEI Tatuya
|
1e4d796212
[1452] complete data validation in SocketSessionReceptor::pop with detailed
|
13 years ago |
JINMEI Tatuya
|
47256b9860
[1452] (unrelated cleanup): we shouldn't need to disable strict-aliasing check
|
13 years ago |
JINMEI Tatuya
|
787a439b41
[1452] use recvfrom(2) with MSG_WAITALL instead of read(2). it seems that
|
13 years ago |
JINMEI Tatuya
|
12649b6a44
[1452] explicitly set socket recvbuf, too. use blocking read + alarm
|
13 years ago |
JINMEI Tatuya
|
8cd3a3f503
[1452] made the forwarder socket nonblocking and test the case we push sessions
|
13 years ago |
JINMEI Tatuya
|
f37822dcf5
[1452] added consideration for the case where the acceptor dies before push.
|
13 years ago |
JINMEI Tatuya
|
1007c575bb
[1452] added more parameter validations and corresponding tests.
|
13 years ago |
JINMEI Tatuya
|
f942fb1a8c
[1452] some documentation/comment cleanups
|
13 years ago |
JINMEI Tatuya
|
6328a99430
[trac1452] made sure hints are used in getaddrinfo, also be more specific
|
13 years ago |
JINMEI Tatuya
|
e0c434fbb5
[1452] avoid using a reference in std::pair. it doesn't work with all compilers.
|
13 years ago |
JINMEI Tatuya
|
b5e5d9e912
[1452] use <errno.h> instead of sys/errno.h. the former seems to be more portable.
|
13 years ago |
JINMEI Tatuya
|
09ed7a24bf
[1452] initial workable implementation of the more generic FD pasing framework.
|
13 years ago |
JINMEI Tatuya
|
37a11387ba
[master] fixed tabbing
|
13 years ago |
JINMEI Tatuya
|
cee6a7af5f
[master] added changelog entry for #1387
|
13 years ago |
JINMEI Tatuya
|
a5e9d9176e
[master] Merge branch 'trac1387'
|
13 years ago |
Yoshitaka Aharen
|
e82cf73f21
Revert "Merge branch 'master' into trac510"
|
13 years ago |
Yoshitaka Aharen
|
777d6f3037
Revert "[510] forgot to include changes"
|
13 years ago |