Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Abort if current slot is in state FREE. It must not happen. | 14dc9f444309cddd46996a47277cefe4eec77db5 | Catalin(ux) M. BOIE | 2009-08-20 15:33:31 |
Clean a slot only after we move it in the end. This fixes an infinite loop if last and first slots were both in state FREE. | eecc6decaea6801235aa7a02d193782e1accc58f | Catalin(ux) M. BOIE | 2009-08-20 15:32:38 |
Cosmetic changes. | c147533732f8b7b4bbe2725f04bcce0df0271c70 | Catalin(ux) M. BOIE | 2009-08-20 15:31:12 |
Call del_obj only if we have a valid file descriptor. | 95c90269de0fa59a6ea69c2067827bbf57db16d5 | Catalin(ux) M. BOIE | 2009-08-20 15:29:42 |
Conn_enqueue returns now the number of bytes queued or -1. You should really check the error code. | ab88f823936ad67ba08aa5fd7984ea735c6c7dd7 | Catalin(ux) M. BOIE | 2009-08-20 15:28:42 |
Added CONN_STATE_ERROR. | e20e518e10f686eb0b248ae23fe193ea7344594b | Catalin(ux) M. BOIE | 2009-08-20 15:27:50 |
Added ERROR_INTERNAL. | 380a956dacfc05f0668e6a3fac941a464b5d7deb | Catalin(ux) M. BOIE | 2009-08-20 15:27:08 |
Added helper raise_error. | 10abeda5c6e4d1fb2c7011b9d2d070ea4db1cc11 | Catalin(ux) M. BOIE | 2009-08-20 15:26:32 |
Correctly set error state and errno code. | 6eca4a62d11c1881c8803d927e8155f15ca39072 | Catalin(ux) M. BOIE | 2009-08-20 15:25:11 |
Converted #defines to enums. | 6bafbb8f6887be62ccc668411b3e336d732c82dc | Catalin(ux) M. BOIE | 2009-08-20 15:20:38 |
Let *_move_slot functions return an error code (useless right now). | 353a5edd7b350383ee79cb5d8536568fb733445b | Catalin(ux) M. BOIE | 2009-08-20 15:19:24 |
Fixed the case when all connection are closed (app didn't exit). | 79d111839a75354c60a675a5c7ff328a38d4b8c8 | Catalin(ux) M. BOIE | 2009-06-22 14:50:59 |
Bump up the version to 1.0.21. | 574437c47f27ead82d5a891be30312c6725d5142 | Catalin(ux) M. BOIE | 2009-05-20 14:29:02 |
Fixed a use of an uninit variable! Oops! | 381473f2077d895d5064f1ea2e82d5a215ad5770 | Catalin(ux) M. BOIE | 2009-05-20 14:28:24 |
Bump up the version to 1.0.20. | 2270d4d69a1479a68c61c908bb2e421984f2d785 | Catalin(ux) M. BOIE | 2009-05-20 14:10:52 |
Fixed an underflow in Conn_rtrim. Oops! | dd361465e5f31adcc337b4eca9ebeec6c1713c42 | Catalin(ux) M. BOIE | 2009-05-20 14:10:28 |
Missed a '('. Oops! | 920f9fda5fecd14e1cfcdb8bd66164f3bd215b93 | Catalin(ux) M. BOIE | 2009-05-20 14:05:59 |
Try harder to respect the trigger interval; in the start fire after interval. | e7e5a52e7a6b7ad59da38bf660269e025f10ade4 | Catalin(ux) M. BOIE | 2009-05-06 11:19:09 |
Bump up the version. | e3723ad356330457959f6d9100be81d7eaacc57d | Catalin(ux) M. BOIE | 2009-04-17 14:33:30 |
Added reconnect executable to .gitignore. | 585adaa455a4ab751733bd872faf10c97a880d17 | Catalin(ux) M. BOIE | 2009-04-17 14:33:06 |
File | Lines added | Lines deleted |
---|---|---|
Conn.c | 3 | 4 |
File Conn.c changed (mode: 100644) (index 01dc180..dc0ede9) | |||
... | ... | int Conn_poll(const int timeout) | |
1161 | 1161 | continue; | continue; |
1162 | 1162 | } | } |
1163 | 1163 | ||
1164 | if (C->state == CONN_STATE_FREE) { | ||
1165 | last = Conn_no - 1; | ||
1166 | Conn_move_slot(i, last); | ||
1167 | continue; | ||
1164 | if (Conns[i].state == CONN_STATE_FREE) { | ||
1165 | /* Must not happen! */ | ||
1166 | abort(); | ||
1168 | 1167 | } | } |
1169 | 1168 | ||
1170 | 1169 | /* test if it expired/timeout */ | /* test if it expired/timeout */ |