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)
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
Minor cosmetic changes. 5955b574710254e771bbf9d81a8712033c9f1464 Catalin(ux) M. BOIE 2009-02-23 11:32:20
Commit 3599fc41cce9bd25e5461d0c4350780f4dbc64a6 - More clear logging.
Author: Catalin(ux) M. BOIE
Author date (UTC): 2009-03-09 10:04
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2009-03-09 10:04
Parent(s): 64a2ec25c265a6750b25e7bd5be85f66766e4cf4
Signing key:
Tree: 98daffcc970a4b7120dea6172163a33d8580c05d
File Lines added Lines deleted
Conn.c 2 2
Conn_engine_core.c 3 0
File Conn.c changed (mode: 100644) (index 0fcbbf3..e0da755)
... ... int Conn_enqueue(struct Conn *C, void *buf, const size_t count)
211 211
212 212 static void Conn_free_intern(struct Conn *C) static void Conn_free_intern(struct Conn *C)
213 213 { {
214 Log(7, "Cleaning-up slot in %s state, slot=%u, id=%llu [%s]...\n",
215 Conn_state(C), C->slot, C->id, Conn_errno(C));
214 Log(7, "%s: Cleaning-up slot in %s state, slot=%u, id=%llu [%s]...\n",
215 __FUNCTION__, Conn_state(C), C->slot, C->id, Conn_errno(C));
216 216
217 217 snprintf(Conn_error, sizeof(Conn_error), snprintf(Conn_error, sizeof(Conn_error),
218 218 "%s", Conn_errno(C)); "%s", Conn_errno(C));
File Conn_engine_core.c changed (mode: 100644) (index 8f32aa4..ff4c1b3)
... ... void Conn_eatall(struct Conn *C)
826 826 */ */
827 827 void Conn_close(struct Conn *C) void Conn_close(struct Conn *C)
828 828 { {
829 Log(10, "%s: Mark slot=%u, id=%llu for closing...\n",
830 __FUNCTION__, C->slot, C->id);
831
829 832 if (C->obuf_head == C->obuf_tail) if (C->obuf_head == C->obuf_tail)
830 833 C->error_state = CONN_ERROR_USERREQ; C->error_state = CONN_ERROR_USERREQ;
831 834 else else
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