Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Moved free_intern in the periodic scanning to not miss connections in listen. | 5fb989866b1ceb68e64e62e035610c40cf519c03 | Catalin(ux) M. BOIE | 2009-03-09 10:05:03 |
More clear logging. | 3599fc41cce9bd25e5461d0c4350780f4dbc64a6 | Catalin(ux) M. BOIE | 2009-03-09 10:04:47 |
Bump up the version. | 64a2ec25c265a6750b25e7bd5be85f66766e4cf4 | Catalin(ux) M. BOIE | 2009-03-09 08:59:22 |
Fixed a bug preventing a socket in listen state to be closed. | 287e366451321862731e005d48391ed39149693b | Catalin(ux) M. BOIE | 2009-03-09 08:58:51 |
Duilder updates. | 30f5e95e50703f2bb3e5ba6f088b09f858e0e95c | Catalin(ux) M. BOIE | 2009-03-09 08:58:40 |
Extended timeout to 1000ms from 500ms. No need to wake up too frequent. | ea268527d103d09685192399bbad6ebbd22430e8 | Catalin(ux) M. BOIE | 2009-03-06 13:11:36 |
Bump version in duilder. | cbe72841517c536aa714fd8dfdbe1799248664e2 | Catalin(ux) M. BOIE | 2009-03-05 15:35:37 |
Added suport to bind to a specific IP. | 5de8bd574a0bd2b57cc0ea98c4c20186dcfc9d8c | Catalin(ux) M. BOIE | 2009-03-02 13:59:07 |
TODO: Added bind to ip and access control. | d7dd6bd61fdb4974da679979f05913cc24c9c0ae | Catalin(ux) M. BOIE | 2009-03-02 13:34:13 |
Lot of small changes that were need to fix epoll integration. | 92877346e9cbecc7bea6f6d342e6d03475349878 | Catalin(ux) M. BOIE | 2009-02-26 12:20:07 |
Fixed the server example to output a \n terminated line. | ed20ea84c9c6bd5dc9a3c066d03e4c8a049e1369 | Catalin(ux) M. BOIE | 2009-02-26 12:16:33 |
Added an accept_error callback to server example (s.c). | 7014b75488c82c4b1f1c5b52cf7d4d2278719f4d | Catalin(ux) M. BOIE | 2009-02-26 12:15:56 |
Fixed exit from client example (c.c) to catch leaks. | b912a406c59719919d3d98f4ca92cbbb3f986e99 | Catalin(ux) M. BOIE | 2009-02-26 12:15:08 |
Added queue stuff - not used for now. | b913455733a88e63bea980e7490d4f36766e15fc | Catalin(ux) M. BOIE | 2009-02-26 10:50:56 |
Constify a lot of parameters and added more consistent logging. | 8b15034895c7e63be9b9ca68e4b41c9a52618d10 | Catalin(ux) M. BOIE | 2009-02-26 10:46:05 |
Stuff in/out. | 074bc88cec80384ade2f4309840a7d2c6f15a700 | Catalin(ux) M. BOIE | 2009-02-26 10:41:16 |
Remove 'slot' concept from anywhere I could. It was confusing. | eacc7a0b5355ffa8f71dc07631209e2f805edd03 | Catalin(ux) M. BOIE | 2009-02-23 15:21:53 |
Use valgrind in examples to catch errors. | 3520092ef3e946840bc13fd1891b22645cf085a5 | Catalin(ux) M. BOIE | 2009-02-23 15:21:23 |
Some cosmetic changes for examples. | 2fc9e92d9fb24568a13355db191e5bf64d601ee8 | Catalin(ux) M. BOIE | 2009-02-23 15:21:02 |
More TODO entries added/removed. | eb5a15672c8adf3c3da2425582b1e842c6127b13 | Catalin(ux) M. BOIE | 2009-02-23 15:20:04 |
File | Lines added | Lines deleted |
---|---|---|
Conn.c | 4 | 4 |
File Conn.c changed (mode: 100644) (index e0da755..b7e33ed) | |||
... | ... | static void Conn_poll_cb(struct Conn *C, int revents) | |
1089 | 1089 | } | } |
1090 | 1090 | } | } |
1091 | 1091 | } | } |
1092 | |||
1093 | /* Close it if in error state */ | ||
1094 | if (C->error_state > 0) | ||
1095 | Conn_free_intern(C); | ||
1096 | 1092 | } | } |
1097 | 1093 | ||
1098 | 1094 | /* | /* |
... | ... | int Conn_poll(const int timeout) | |
1156 | 1152 | while (i < Conn_no) { | while (i < Conn_no) { |
1157 | 1153 | C = &Conns[i]; | C = &Conns[i]; |
1158 | 1154 | ||
1155 | /* Closing connection if in error state */ | ||
1156 | if (C->error_state > 0) | ||
1157 | Conn_free_intern(C); | ||
1158 | |||
1159 | 1159 | if (C->state == CONN_STATE_FREE) { | if (C->state == CONN_STATE_FREE) { |
1160 | 1160 | Conn_move_slot(i, Conn_no - 1); | Conn_move_slot(i, Conn_no - 1); |
1161 | 1161 | i++; | i++; |