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 some stupid choices regarding storage type for the output of snprintf. 3cddc7934c4fc2640e4a60d408e98c45acef48c9 Catalin(ux) M. BOIE 2010-02-05 00:12:13
First round of memory status. 9e267dc05ec2c0b1e50288a6d9a5db5d3677e82e Catalin(ux) M. BOIE 2010-02-04 23:46:48
Do not overwrite Conn_error in Conn_free_intern. 380c378dd92e7a797f0dfec99bed7ce77034933c Catalin(ux) M. BOIE 2010-02-04 23:31:50
No need to remove fd from epoll just before closing it. bf7e91a441314a37f5f8a2430645c913b953499f Catalin(ux) M. BOIE 2010-02-04 23:17:05
Log status at the end for xbind example. 2caa2d8a3dc509e91235fd23c396061931ae1ef8 Catalin(ux) M. BOIE 2010-02-04 23:11:39
Log also fd in Conn_free_intern. 2e12c2ed0b4c39341ec3da3c6fc52d32f4a351eb Catalin(ux) M. BOIE 2010-02-04 23:11:09
In shutdown, close the file descriptors. 8bf16a0b5413d8f99cb466b52efcbd12318e958d Catalin(ux) M. BOIE 2010-01-27 18:51:36
Added xbind example. 1cdf8e8fd7ba9049eafef8f136d6b4e5e870b0ff Catalin(ux) M. BOIE 2009-12-30 22:37:01
TODO in/out. b0d7ba7f8abe58861a47586d767ff35bc1f0961d Catalin(ux) M. BOIE 2009-12-30 22:35:55
Stop Conn if nothing to do. 7f13d71774792aa97b341a2e69bb557d15b6c74a Catalin(ux) M. BOIE 2009-12-06 01:38:12
Improved Conn_split_* and removed a bad leak! f47f85c65ac5781d9419b58b20db632772947c64 Catalin(ux) M. BOIE 2009-12-06 01:24:58
Bump up the version. 4788a6979d84939cc7aaf824ef8e0b7357cab6cc Catalin(ux) M. BOIE 2009-12-07 12:50:16
Duilder updates. 1b717c718189468006ff0e7fb228571e76fb97e6 Catalin(ux) M. BOIE 2009-12-07 12:49:55
Exported Conn_engine_set function. 1c69de5306d302fcd6b3e6351d3e28771b08bb05 Catalin(ux) M. BOIE 2009-11-12 15:18:40
Bumped up the version to 1.0.29. ee219d6016983a64187cfe0866c597419f464535 Catalin(ux) M. BOIE 2009-09-18 12:07:41
Fix Conn_poll(-1)! Stupid me! 4ce77092baec7cbbfcd8d943838aa7eeefedbc8e Catalin(ux) M. BOIE 2009-09-18 12:07:04
Bump up the version to 1.0.28. deea1515d967c7b0708e25fe146799a09c5c2dc8 Catalin(ux) M. BOIE 2009-09-18 11:15:46
Do poll in 1000ms steps, even if Conn_poll is called with != 1 value. Else, triggers are not called! 59b4d5d8db5a4a9048f61ad836e67c824bb1ac95 Catalin(ux) M. BOIE 2009-09-18 11:15:04
Bumbed up the version to 1.0.27. 62ffc3a45094bd4b2d345d7ba37c862e1605050c Catalin(ux) M. BOIE 2009-09-18 09:43:03
More clear what error message is. acd5309c8de872f618a1055258614cf542dadf51 Catalin(ux) M. BOIE 2009-09-18 09:42:38
Commit 3cddc7934c4fc2640e4a60d408e98c45acef48c9 - Fixed some stupid choices regarding storage type for the output of snprintf.
Author: Catalin(ux) M. BOIE
Author date (UTC): 2010-02-05 00:12
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2010-06-11 09:04
Parent(s): 9e267dc05ec2c0b1e50288a6d9a5db5d3677e82e
Signing key:
Tree: b0464d21f8b7f853507e5388388ecb0f1ac603d8
File Lines added Lines deleted
Conn_engine_core.c 3 3
File Conn_engine_core.c changed (mode: 100644) (index e66be2f..241dfa3)
... ... char *Conn_status_slot_html(const unsigned int slot)
570 570 /* flags: bit 1 = 1 - html */ /* flags: bit 1 = 1 - html */
571 571 char *Conn_status(const unsigned int flags) char *Conn_status(const unsigned int flags)
572 572 { {
573 unsigned int len = 0, slot, max;
574 char tmp[512], tmp_len;
573 unsigned int len = 0, slot, max, tmp_len;
574 char tmp[512];
575 575 char polle[16], pollr[16]; char polle[16], pollr[16];
576 576 char *buf, *per_slot, *ext = ""; char *buf, *per_slot, *ext = "";
577 577 char speedi[32], speedo[32]; char speedi[32], speedo[32];
 
... ... char *Conn_status(const unsigned int flags)
593 593 Conn_pending, Conn_no, Conn_max, Conn_total, Conn_pending, Conn_no, Conn_max, Conn_total,
594 594 Conn_now.tv_sec - Conn_start, Conn_allocated, Conn_work_to_do, Conn_now.tv_sec - Conn_start, Conn_allocated, Conn_work_to_do,
595 595 Conn_mem_structs, Conn_mem_buffers_in, Conn_mem_buffers_out); Conn_mem_structs, Conn_mem_buffers_in, Conn_mem_buffers_out);
596 if (len + tmp_len < max) {
596 if ((tmp_len > 0) && (len + tmp_len < max)) {
597 597 strcat(buf, tmp); strcat(buf, tmp);
598 598 len += tmp_len; len += tmp_len;
599 599 } }
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