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)
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
Made the server example (s.c) nicer and did more error checking. 519cf83b2d28bee0d3bb25bbc962b3ef5677ee92 Catalin(ux) M. BOIE 2009-04-17 14:32:07
Added a reconnect example. 59b8156a8c5d17c90b5b064b1e1043b365ddac0a Catalin(ux) M. BOIE 2009-04-17 14:31:47
Show a nicer value if the reconnect feat was never used. f51cf254286f76721e517eb69aa00695bdb3b2f5 Catalin(ux) M. BOIE 2009-04-17 14:30:59
Commit 95c90269de0fa59a6ea69c2067827bbf57db16d5 - Call del_obj only if we have a valid file descriptor.
Signed-off-by: Catalin(ux) M. BOIE <catab@embedromix.ro>
Author: Catalin(ux) M. BOIE
Author date (UTC): 2009-08-20 15:29
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2009-09-02 15:42
Parent(s): ab88f823936ad67ba08aa5fd7984ea735c6c7dd7
Signer:
Signing key:
Signing status: N
Tree: e6ac2aa97465bb64790602cac2bbba1b89b7c945
File Lines added Lines deleted
Conn.c 1 2
File Conn.c changed (mode: 100644) (index 20df16d..9d549e0)
... ... static void Conn_free_intern(struct Conn *C)
227 227 Conn_close_cb(C); Conn_close_cb(C);
228 228 } }
229 229
230 Conn_engine_del_obj(C);
231
232 230 if (C->fd > -1) { if (C->fd > -1) {
231 Conn_engine_del_obj(C);
233 232 close(C->fd); close(C->fd);
234 233 C->fd = -1; C->fd = -1;
235 234 } }
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