Thread (43 messages) flat view 43 messages, 5 authors, 2016-06-15
DORMANTno replies

Revision v3 of 5 in this series.

Revisions (5)
  1. v3 current
  2. v4 [diff vs current]
  3. v5 [diff vs current]
  4. v6 [diff vs current]
  5. v7 [diff vs current]

[PATCH v3 00/14] daemon-win32

From: Erik Faye-Lund <hidden>
Date: 2016-06-15 22:49:45

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 [ref] 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

-- 
1.7.3.1.51.ge462f.dirty
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help