daemon-win32
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest14 patches 28 repliesIn review
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | mingw: add network-wrappers for daemoncompat/ compat/ | +58 | 3 replies | |
| 2/14 | mingw: implement syslogcompat/ compat/ daemon.c +1 more | +76 | 10 replies | |
| 3/14 | compat: add inet_pton and inet_ntop prototypesMakefile compat/ compat/ +1 more | +18 | 0 replies | |
| 4/14 | inet_ntop: fix a couple of old-style declscompat/ | +3 | 0 replies | |
| 5/14 | mingw: use real pidcompat/ compat/ | +72 | 3 replies | |
| 6/14 | mingw: support waitpid with pid > 0 and WNOHANGcompat/ compat/ | +7 | 0 replies | |
| 7/14 | mingw: add kill emulationcompat/ compat/ | +22 | 0 replies | |
| 8/14 | daemon: use run-command api for async servingdaemon.c | +43 | 2 replies | |
| 9/14 | daemon: use full buffered mode for stderrdaemon.c | +4 | 0 replies | |
| 10/14 | Improve the mingw getaddrinfo stub to handle more use casescompat/ | +21 | 0 replies | |
| 11/14 | daemon: report connection from root-processdaemon.c | +40 | 5 replies | |
| 12/14 | mingw: import poll-emulation from gnulibcompat/ compat/ | +650 | 4 replies | |
| 13/14 | mingw: use poll-emulation from gnulibMakefile compat/ compat/ +2 more | +3 | 0 replies | |
| 14/14 | daemon: only use posix features on posix systemsMakefile daemon.c | +34 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 00/14] daemon-win32
Almost 9 months have passed since I sent v2, and here's finally v3.
Not so much have happened since v2, the most significant change being that I've replaced our win32-poll implementation with the one from gnulib. This gives our the poll-features needed for git-daemon, and prevents a nasty timing-bug that occured (on Windows) in the previous series.
Some of the patches have been ejected;
* "daemon: use select() instead of poll()" because our poll now is sufficient.
* "daemon: use explicit file descriptor" because it wasn't needed anymore, not even in the previous version.
One patch might be a little bit controversial; "daemon: only use posix features on posix systems". It replaces "mingw: compile git-daemon", and changes the logic from opt-out is WIN32 is defined to opt-in if _POSIX_VERSION defined.
The current version is based on top of junio/next, because the ab/daemon-multi-select series touches some of the same code.
v2 msgid is <[email protected]> if you're interrested in comparing.
Erik Faye-Lund (10):
inet_ntop: fix a couple of old-style decls
mingw: use real pid
mingw: support waitpid with pid > 0 and WNOHANG
mingw: add kill emulation
daemon: use run-command api for async serving
daemon: use full buffered mode for stderr
daemon: report connection from root-process
mingw: import poll-emulation from gnulib
mingw: use poll-emulation from gnulib
daemon: only use posix features on posix systems
Martin Storsjö (1):
Improve the mingw getaddrinfo stub to handle more use cases
Mike Pape (3):
mingw: add network-wrappers for daemon
mingw: implement syslog
compat: add inet_pton and inet_ntop prototypes
Makefile | 12 +- compat/inet_ntop.c | 22 +-- compat/inet_pton.c | 8 +- compat/mingw.c | 291 +++++++++++++++++++------- compat/mingw.h | 56 ++++-- compat/win32/poll.c | 596 +++++++++++++++++++++++++++++++++++++++++++++++++++ compat/win32/poll.h | 53 +++++ daemon.c | 199 ++++++++++-------- git-compat-util.h | 10 + 9 files changed, 1045 insertions(+), 202 deletions(-) create mode 100644 compat/win32/poll.c create mode 100644 compat/win32/poll.h
Signature · 1 line
1.7.3.1.51.ge462f.dirty