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)
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
Call close callback, even if state is ERROR. 58e96228277c188b7b072496e337be9c94f56eb1 Catalin(ux) M. BOIE 2009-08-31 20:52:17
Added Conn_work_to_do to signal when we can exit. 492d960bf3e5b3718fe69ffc8ef30fbe344a805f Catalin(ux) M. BOIE 2009-08-31 20:50:56
Splited reporting of error types. 2d28a3be0ebb1f5e3f548d2523ac591af7dee3b9 Catalin(ux) M. BOIE 2009-08-31 20:08:54
Conn_commit will return error, so, do not call error callback. c97f8be6cfd55c32d78e62a30375d7c014dc0e0a Catalin(ux) M. BOIE 2009-08-31 20:08:17
Cosmetic changes. 54a9e723c3a958e69f491b55df83f96b6814af44 Catalin(ux) M. BOIE 2009-08-31 20:07:51
Raised default listen para to 4096 from 128. somaxconn still has prio. af39935492f39786879ea6ced9f7dfe929c4879d Catalin(ux) M. BOIE 2009-08-31 19:56:36
Store in time_open the accept timestamp so Conn_lifetime will work on srv side. 0522d638872644d7bd6490027a7ae99b1fb4b16f Catalin(ux) M. BOIE 2009-08-31 19:55:44
Improved blackhole examples. 128f393aba2b07c4aa0e41d962a8239dffc3cc10 Catalin(ux) M. BOIE 2009-08-31 17:41:30
More entries to .gitignore. e1d71bcf46a9b61a4aa4e17b857ff9035d7fb6c7 Catalin(ux) M. BOIE 2009-08-31 17:39:45
Tweaked a little the debug level for some messages. 1a27a1acf2ede62fb02b074f232badeb847bfcb8 Catalin(ux) M. BOIE 2009-08-31 17:39:21
Added Conn_lifetime (returns the time in ms between connected state and now). 4e3f1aaabc21d4cbdac26e42612ebd0298c8d86e Catalin(ux) M. BOIE 2009-08-31 17:22:37
Commit 6a95b877268bbf4522c53398e29c3dab1a8f22d1 - Fixed triggers.
Author: Catalin(ux) M. BOIE
Author date (UTC): 2009-09-17 09:41
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2009-09-17 09:41
Parent(s): 0efd6d2a3787fe9a3f2c963bbcc85c95d44b954a
Signing key:
Tree: 8f6a5c208985e4828419ee87909e471cc991f80d
File Lines added Lines deleted
Conn_engine_core.c 4 2
File Conn_engine_core.c changed (mode: 100644) (index 34e68f8..9da01aa)
... ... void Conn_expire(struct Conn *C)
668 668 long long diff_ms; long long diff_ms;
669 669
670 670 if (C->trigger > 0) { if (C->trigger > 0) {
671 /* We do not trigger first time */
672 if (C->last_trigger == 0)
673 C->last_trigger = Conn_now.tv_sec;
674
671 675 if ((C->last_trigger > 0) if ((C->last_trigger > 0)
672 676 && (C->last_trigger + C->trigger < Conn_now.tv_sec)) { && (C->last_trigger + C->trigger < Conn_now.tv_sec)) {
673 677 if (C->cb_trigger) if (C->cb_trigger)
 
... ... void Conn_expire(struct Conn *C)
675 679 else if (Conn_trigger_cb) else if (Conn_trigger_cb)
676 680 Conn_trigger_cb(C); Conn_trigger_cb(C);
677 681 C->last_trigger = C->last_trigger + C->trigger; C->last_trigger = C->last_trigger + C->trigger;
678 } else {
679 C->last_trigger = Conn_now.tv_sec;
680 682 } }
681 683 } }
682 684
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