Jan Vidar Krey
|
5d5dda2f9b
|
Always obtain IP address during accept(), and not do it later as a call to getsockname().
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-23 15:05:27 +01:00 |
Jan Vidar Krey
|
1a1b5bdb38
|
Fixed nasty crash if a user sends a very large command to the hub.
Will overwrite heap memory.
Thanks to Toast who found this bug.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-21 02:58:53 +01:00 |
Jan Vidar Krey
|
669ab14022
|
Minor cleanups and stack reduction.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-19 01:27:34 +01:00 |
Jan Vidar Krey
|
c671851be8
|
Cleaned up local event queue.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-18 02:56:49 +01:00 |
Jan Vidar Krey
|
c29815ed62
|
Fixed compile warning.
|
2009-03-16 12:40:12 +01:00 |
Jan Vidar Krey
|
58e2982675
|
Fixed bug #1: Excessive send queue bug (corruption of the offset variable).
Low priority messages are not relayed if soft limit send queue is reached.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-16 12:28:58 +01:00 |
Jan Vidar Krey
|
4797d5ee90
|
SendQ debugging
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-14 02:09:45 +01:00 |
Jan Vidar Krey
|
5a0f01d1ec
|
Don't assert, rather print error messages.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-13 17:07:06 +01:00 |
Jan Vidar Krey
|
f6af8cf389
|
Merged changes from github.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-13 16:54:39 +01:00 |
Jan Vidar Krey
|
7337d9e1d1
|
Ensure the send queue offset is calculated correctly in case of a partial queued write.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-13 16:51:27 +01:00 |
Jan Vidar Krey
|
5a978d361c
|
Added asserts in case send queue size goes below zero.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
|
2009-03-13 01:29:21 +01:00 |
Jan Vidar Krey
|
26766d8332
|
Optimization: Removed unneeded strlen() calls several places.
|
2009-03-02 19:41:49 +01:00 |
Jan Vidar Krey
|
ac56e7a5b9
|
First git commit.
|
2009-02-19 17:14:09 +01:00 |