catalinux / Conn (public) (License: LGPLv2) (since 2016-03-01) (hash sha1)
Net library for easy building ipv4/ipv6 network daemons/clients
List of commits:
Subject Hash Author Date (UTC)
TODO in/out. fdcfbf9e18ed5fbe0135b9aa702e09432fa71e93 Catalin(ux) M. BOIE 2009-08-21 15:53:05
First chunk of generic socket handling. b9a488ba615c4322b5d116a29919f11fd476b200 Catalin(ux) M. BOIE 2009-08-21 15:50:45
Added ntime example (returns CLOCK_REALTIME as fast as it can). e2fa318caf3e9aea09a853ab2b4af4b5a2cc8261 Catalin(ux) M. BOIE 2009-08-20 15:41:20
TODO ins and outs. 66a987be5d8e08ef6fe1ce0c056b8c3acd65bdb7 Catalin(ux) M. BOIE 2009-08-20 15:36:14
Cosmetic change. 5dab6539af2ca97f3f3f9b55e20be7d6f423829e Catalin(ux) M. BOIE 2009-08-20 15:34:01
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
Commit fdcfbf9e18ed5fbe0135b9aa702e09432fa71e93 - TODO in/out.
Signed-off-by: Catalin(ux) M. BOIE <catab@embedromix.ro>
Author: Catalin(ux) M. BOIE
Author date (UTC): 2009-08-21 15:53
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2009-09-02 15:42
Parent(s): b9a488ba615c4322b5d116a29919f11fd476b200
Signer:
Signing key:
Signing status: N
Tree: c508615eda8ab73712f9a1b0c45e8766e2dc0485
File Lines added Lines deleted
TODO 9 2
File TODO changed (mode: 100644) (index ad9c54b..64d9cdb)
1 1 == SHOWSTOPPER == == SHOWSTOPPER ==
2 [ ] Check Conn_enqueue usage in examples/. Must check for -1!
2 3
3 4 == HIGH PRIORITY == == HIGH PRIORITY ==
4 5 [ ] Cache getaddrinfo responses [ ] Cache getaddrinfo responses
5 6
6 7
7 8 == LOW PRIORITY == == LOW PRIORITY ==
8
9 9 [ ] SCTP [ ] SCTP
10 10 [ ] .error_state -> error_type [ ] .error_state -> error_type
11 11 [ ] if (.error_state...) -> if (.state == CONN_STATE_ERROR) [ ] if (.error_state...) -> if (.state == CONN_STATE_ERROR)
12
12 [ ] Audit CONN_STATE_EMPTY vs CONN_STATE_FREE
13 [ ] Add a function to set the maximum number of connections.
13 14 [ ] Fix the whole list scanning for expiration, band and closing. [ ] Fix the whole list scanning for expiration, band and closing.
14 15
15 16 [ ] Add access control [ ] Add access control
 
... ... Pentru a reduce numarul de conexiuni in TIME-WAIT:
53 54 [ ] Test suite [ ] Test suite
54 55 [ ] Free memory when the number of connections is going down. [ ] Free memory when the number of connections is going down.
55 56 [ ] Bandwidth part should have a separate pointer, to not load too much Conn structure. [ ] Bandwidth part should have a separate pointer, to not load too much Conn structure.
57
58
59
60
61 === When we switch to Conn version 2 library ===
62 [ ] Conn_socket will cann Conn_socket_proto
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/catalinux/Conn

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/catalinux/Conn

Clone this repository using git:
git clone git://git.rocketgit.com/user/catalinux/Conn

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main