Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Log also work_to_do. | a7c800b63e6ca4384726c7269e097c4f76f9991e | Catalin(ux) M. BOIE | 2009-09-18 07:51:26 |
Conn_eat logs also the slot. | f65411260656b348ea34da12e7bbcbe62d7350f6 | Catalin(ux) M. BOIE | 2009-09-18 07:47:10 |
More logging in hang-up case. | 325c292c46f8deb6e621836f16dec2d43cc5aea9 | Catalin(ux) M. BOIE | 2009-09-18 07:30:39 |
Bumbed up the version to 1.0.25. | 379d8e2aa9df2b504cc5f539981fecf0d882c509 | Catalin(ux) M. BOIE | 2009-09-17 14:47:48 |
Lots of bulk changes to work-around C pointer change. | bf3d2ae7af927b3624c4685c72ca6fa812bca640 | Catalin(ux) M. BOIE | 2009-09-17 14:47:19 |
Bumped version to 1.0.24. | 77e8249758effc45a86d66f8edc5973f11a5b6f9 | Catalin(ux) M. BOIE | 2009-09-17 12:20:16 |
Allow chg function to fail. Problem needs more thinking. | a01999f729b0afd5891dcd538c91e564c274ce69 | Catalin(ux) M. BOIE | 2009-09-17 12:19:24 |
Done some optimizations for buffer expanding. | 0fa9c81dc4ded2296c1825c5ccd3b264995962aa | Catalin(ux) M. BOIE | 2009-09-17 12:02:46 |
Do not wrongly set connection type to P2P! | ccb997058dedaa139cf12e30eb8547f2dd99993e | Catalin(ux) M. BOIE | 2009-09-17 11:17:31 |
Bumped version to 1.0.23. | b79fc6931982e2389f1b29b91d2386eaa779c143 | Catalin(ux) M. BOIE | 2009-09-17 09:43:00 |
Duilder updates. | 534af0dbaf993201b588d463f58e64401ccc7d85 | Catalin(ux) M. BOIE | 2009-09-17 09:42:45 |
Fixed triggers. | 6a95b877268bbf4522c53398e29c3dab1a8f22d1 | Catalin(ux) M. BOIE | 2009-09-17 09:41:44 |
Bumped version to 1.0.22. | 0efd6d2a3787fe9a3f2c963bbcc85c95d44b954a | Catalin(ux) M. BOIE | 2009-09-02 16:23:25 |
Updated duilder. | 8bfb064fb40b962a0ed18f3af21fbfd0289672dd | Catalin(ux) M. BOIE | 2009-09-02 15:48:51 |
Added latency reporting. | 218047bf22e2804a585703751b51c6b2d54c59ad | Catalin(ux) M. BOIE | 2009-09-02 16:29:44 |
TODO in/out. | d56467202a5a6823716ae3e6e3e15cee93fe86d1 | Catalin(ux) M. BOIE | 2009-09-02 16:29:07 |
Ignore EMPTY state. | ef0dbfef5db779a9bb3cb1782e00c62d1abc1b07 | Catalin(ux) M. BOIE | 2009-08-31 20:54:13 |
Increment Conn_pending only on success. | e2bacc2941cb07836973f881d060e05018f28c62 | Catalin(ux) M. BOIE | 2009-08-31 20:53:53 |
Cosmetic changes. | f09c89986ade60ff5f9a79f6080783acff11c3d5 | Catalin(ux) M. BOIE | 2009-08-31 20:53:33 |
Set start values for enums. | f2d6b05dce0e058323101a4d6f159c0c4172941a | Catalin(ux) M. BOIE | 2009-08-31 20:52:41 |
File | Lines added | Lines deleted |
---|---|---|
Conn_engine_core.c | 2 | 2 |
Conn_engine_epoll.c | 4 | 0 |
File Conn_engine_core.c changed (mode: 100644) (index c838ea5..754b936) | |||
... | ... | char *Conn_status(const unsigned int flags) | |
579 | 579 | /* TODO: "len += " is incorrect */ | /* TODO: "len += " is incorrect */ |
580 | 580 | tmp_len = snprintf(tmp, sizeof(tmp), | tmp_len = snprintf(tmp, sizeof(tmp), |
581 | 581 | "Conn_pending=%d Conn_no/Conn_max=%d/%d Conn_total=%lu" | "Conn_pending=%d Conn_no/Conn_max=%d/%d Conn_total=%lu" |
582 | " Conn_uptime=%lus Conn_allocated=%d\n", | ||
582 | " Conn_uptime=%lus Conn_allocated=%d Conn_work_to_do=%u\n", | ||
583 | 583 | Conn_pending, Conn_no, Conn_max, Conn_total, | Conn_pending, Conn_no, Conn_max, Conn_total, |
584 | Conn_now.tv_sec - Conn_start, Conn_allocated); | ||
584 | Conn_now.tv_sec - Conn_start, Conn_allocated, Conn_work_to_do); | ||
585 | 585 | if (len + tmp_len < max) { | if (len + tmp_len < max) { |
586 | 586 | strcat(buf, tmp); | strcat(buf, tmp); |
587 | 587 | len += tmp_len; | len += tmp_len; |
File Conn_engine_epoll.c changed (mode: 100644) (index 3f6bac3..999f465) | |||
... | ... | int Conn_epoll_poll(const int timeout2, void (*cb)(const unsigned int slot, | |
184 | 184 | */ | */ |
185 | 185 | int Conn_epoll_move_slot(const unsigned int dst, const unsigned int src) | int Conn_epoll_move_slot(const unsigned int dst, const unsigned int src) |
186 | 186 | { | { |
187 | unsigned int tmp; | ||
188 | |||
189 | tmp = src; /* gcc silencer */ | ||
190 | |||
187 | 191 | /* Because slot was changed, update epoll info */ | /* Because slot was changed, update epoll info */ |
188 | 192 | Conn_epoll_chg_obj(&Conns[dst]); | Conn_epoll_chg_obj(&Conns[dst]); |
189 | 193 |