Skip to content

daemon-win32

Erik Faye-Lund git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest14 patches 28 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14mingw: add network-wrappers for daemoncompat/mingw.c compat/mingw.h+58 -13 replies
2/14mingw: implement syslogcompat/mingw.c compat/mingw.h daemon.c +1 more+76 -210 replies
3/14compat: add inet_pton and inet_ntop prototypesMakefile compat/inet_ntop.c compat/inet_pton.c +1 more+18 -60 replies
4/14inet_ntop: fix a couple of old-style declscompat/inet_ntop.c+3 -130 replies
5/14mingw: use real pidcompat/mingw.c compat/mingw.h+72 -83 replies
6/14mingw: support waitpid with pid > 0 and WNOHANGcompat/mingw.c compat/mingw.h+7 -00 replies
7/14mingw: add kill emulationcompat/mingw.c compat/mingw.h+22 -00 replies
8/14daemon: use run-command api for async servingdaemon.c+43 -432 replies
9/14daemon: use full buffered mode for stderrdaemon.c+4 -20 replies
10/14Improve the mingw getaddrinfo stub to handle more use casescompat/mingw.c+21 -70 replies
11/14daemon: report connection from root-processdaemon.c+40 -305 replies
12/14mingw: import poll-emulation from gnulibcompat/win32/poll.c compat/win32/poll.h+650 -04 replies
13/14mingw: use poll-emulation from gnulibMakefile compat/mingw.c compat/mingw.h +2 more+3 -790 replies
14/14daemon: only use posix features on posix systemsMakefile daemon.c+34 -171 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

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