Jan Vidar Krey
896bbfcb5d
Compile multiple network backends into the binary and choose which one to use at runtime.
...
This makes it possible to share more code between the backends and also work around
bugs of certain backends on some (versions of) operating systems.
2010-02-10 22:00:13 +01:00
Jan Vidar Krey
7637d9ba68
Added experimental Haiku OS support.
...
It compiles and it runs with some minor glitches.
2010-01-28 01:35:08 +01:00
Jan Vidar Krey
8e7e8c68f5
gcc v2.95 compile fixes.
2010-01-28 01:06:41 +01:00
Jan Vidar Krey
928225fb7b
On Mac OS X getrlimit() returns 2^(sizeof(size_t) * 8) instead of the actual number of available socket descriptors.
2010-01-26 08:40:10 +01:00
Jan Vidar Krey
bfc7c184a7
Fix release build compile warnings.
2010-01-23 14:59:51 +01:00
Jan Vidar Krey
4711d26c11
Fix broken net_address_to_string().
2010-01-22 16:09:19 +01:00
Jan Vidar Krey
21a5981905
Make sure start_listening_socket does everything, this will lead the way to multiple listen ports.
2010-01-21 17:31:55 +01:00
Jan Vidar Krey
f84073f7cc
Various fixes for epoll handling without libevent.
...
This should take care of most compile issues as well as busy loops caused by unhandled recv() calls returning 0 and general cleanups.
2010-01-19 17:52:58 +01:00
Jan Vidar Krey
1c58a85de1
More work on epoll.
2010-01-17 23:00:28 +01:00
Jan Vidar Krey
6a4b9c58f4
Work on removing libevent completely as a mandatory dependency.
2010-01-07 20:55:13 +01:00
Jan Vidar Krey
00995a1946
Fix potential memory leaks and crashes.
2009-11-18 17:41:28 +01:00
Jan Vidar Krey
4919c8f2f9
Fix compile error.
2009-10-09 00:11:09 +02:00
Jan Vidar Krey
2910c571b0
Fix protocol probe. Will detect ADC and TLS handshake - any other request
...
will simply cause the hub to close the connection.
Fix problems with write events not being processed due to a read event taking presendence.
Fix bug #86 : Windows does not have "getrlimit()".
2009-10-08 23:16:15 +02:00
Jan Vidar Krey
cfb450c3fc
Added net_set_nonblocking for Solaris.
2009-08-06 23:28:44 +02:00
Jan Vidar Krey
b9adaa4f8b
Fix libevent init.
2009-08-04 00:22:08 +02:00
Jan Vidar Krey
eca0f931bd
Fixes to shutdown...
2009-08-03 23:59:02 +02:00
Jan Vidar Krey
27c71a75ee
Hook in the new connection work, also implemented some missing bits
...
and pieces of SSL.
SSL seems to work at some basic level, and is largely untested.
2009-08-03 17:25:52 +02:00
Jan Vidar Krey
4931dc5dcb
Added call functionality to figure out the maximum number of sockets (file descriptors) available on system.
2009-08-02 22:28:34 +02:00
Jan Vidar Krey
6358c7f9cd
Fix bug #45 : [Request] Whoip command.
...
Rewrote patches from Zoltan to support ip ranges and multiple results per IP.
Needed to make sure IPv6 mapped IPv4 addresses were converted to proper IPv4 addresses after accept().
2009-07-26 04:31:36 +02:00
Jan Vidar Krey
6e5d28c2d4
Rework logging code to be able to turn it off completely.
2009-07-26 01:38:38 +02:00
Jan Vidar Krey
36a07e3f7e
Reorganized sources slightly.
2009-07-25 20:05:27 +02:00