Jan Vidar Krey
69f6d811bf
Added lots of asserts, and split out the ip address from the connection object.
...
Still a lot of work remains and a massive network connection cleanup is needed.
2009-09-29 00:30:52 +02:00
Jan Vidar Krey
1af613d9ce
Fixed printf issues with size_t. Since Windows do not support %zu we have to use %Iu there instead.
...
Solved that with an ugly but needed macro.
2009-08-20 10:44:44 +02:00
Jan Vidar Krey
86ba3ca86f
Complete moving all connection related data out of the hub_user object.
2009-08-07 00:22:30 +02:00
Jan Vidar Krey
80dee0c020
Get rid of the event_base_set() calls.
2009-08-04 00:15:04 +02:00
Jan Vidar Krey
eca0f931bd
Fixes to shutdown...
2009-08-03 23:59:02 +02:00
Jan Vidar Krey
4e43746c1b
Moved the ipaddr object into the connection object.
2009-08-03 18:14:34 +02:00
Jan Vidar Krey
4666311516
Add a quit reason to the log messages printed by !log.
2009-08-02 22:53:25 +02:00
Jan Vidar Krey
0e1cd903da
Make sure we create enough sids as there are socket descriptors.
2009-08-02 22:29:12 +02:00
Jan Vidar Krey
9bd0286c01
Fix bug #3 , sid allocation overflow. May lead to double SIDs being given out.
2009-08-02 21:04:10 +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
78bb1d3527
Typo - compilefix.
2009-07-26 02:06:02 +02:00
Jan Vidar Krey
48f3cae22b
Ensure we delete the global evtimer only if it is initialized.
2009-07-26 02:05:01 +02:00
Jan Vidar Krey
367871e476
Renamed all "struct user" to hub_user in order to resolve a naming conflict on OpenWRT.
...
Basically: sed -i 's/struct user/struct hub_user/g' `find -type f`
2009-07-26 01:47:17 +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