Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Deal with partial writes | 5db8d961f1e732b0c96b57126f3528649a543b13 | Catalin(ux) M. BOIE | 2022-01-24 09:25:06 |
Really fix write size overflow | 7433a431f7e8da44ef8e98fa9011e8a44cd8de08 | Catalin(ux) M. BOIE | 2022-01-24 07:52:05 |
Added first step of specifying protocol | 608380dcd49803c6aaf45561a19b2a19529031a2 | Catalin(ux) M. BOIE | 2022-01-24 07:51:45 |
If the write buffer is not enough, limit the size | aa62b3515b8ff95f45f63ea4a0a848d9d49d41b2 | Catalin(ux) M. BOIE | 2022-01-23 19:48:11 |
More preparations for ebian package | 93fc386ff8a32954b2559a76b1bc44ab9ac50b6a | Catalin(ux) M. BOIE | 2021-12-04 12:44:28 |
duilder update | c7ab77a1da4bac86bbb3decc375e084e2eee994f | Catalin(ux) M. BOIE | 2021-11-17 16:46:56 |
.spec file is not genrated anymore because the dep extract phase | 8d7838b9d611d53677513c61a1f8e7a31cd94040 | Catalin(ux) M. BOIE | 2021-11-17 16:35:36 |
Avoid an overflow | 896593e3ec385d03b0f368688407f00881604a95 | Catalin(ux) M. BOIE | 2021-10-24 10:35:57 |
Stupid mistake: sizeof(pointer) | 0ad966a0968bd2d762950860b4a66db28fc7ee06 | Catalin(ux) M. BOIE | 2021-10-24 10:18:47 |
More debugging | 68246f79bd9a96fadfbef0d9cd4e884e04ee4f86 | Catalin(ux) M. BOIE | 2021-10-24 09:40:12 |
Seems that fuse cannot return any value on read, so adapt to dyn alloc memory | 787716468c47f979da048d266a6e0acb569345ab | Catalin(ux) M. BOIE | 2021-10-24 09:01:56 |
More debugging | 44259f8be40bc2aa8220ed1f76d51e3f54ea5595 | Catalin(ux) M. BOIE | 2021-10-24 08:30:33 |
spec: replaced usrbindir with bindir | c34fbb313f831714894e528a483db700cdac4e5b | Catalin(ux) M. BOIE | 2021-10-21 16:38:26 |
Removed Changelog file from spec because it will not be generated when the rpm is | 9dcc332cc2c2c737ec75a86ea620bdcc057c8087 | Catalin(ux) M. BOIE | 2021-10-21 16:34:15 |
duilder fixes | 6cd9e85084a5989a13fcda3c4d18677df997d423 | Catalin(ux) M. BOIE | 2021-10-21 15:57:44 |
Cosmetic | 720c239954a7b4bb69dee90993aac588f0e6436a | Catalin(ux) M. BOIE | 2021-10-21 15:16:35 |
Sometimes we incorrectly returned 0 instead of the error | 8bab245be8f6e2026162d9f7fccf27053f47626e | Catalin(ux) M. BOIE | 2021-03-29 06:27:54 |
Do not reconnect if server closed the connection gracefully | a06c7349c2bdcedf01e5c54d8e05d3a08c8164b1 | Catalin(ux) M. BOIE | 2021-02-26 07:51:33 |
Raised the buffer for readdir | 8e9eca1d99e23588c6912db1e122e1846d2f6d29 | Catalin(ux) M. BOIE | 2021-02-08 05:33:16 |
Simplify a little bit how code looks (mostly cosmetic) | 39a144be4687167a8fbd876b874b276fd079cccd | Catalin(ux) M. BOIE | 2021-02-02 16:43:40 |
File | Lines added | Lines deleted |
---|---|---|
rgfs.c | 17 | 10 |
File rgfs.c changed (mode: 100644) (index b13fd58..03a864a) | |||
... | ... | static ssize_t rgfs_recv(void *buf, const size_t buf_max) | |
88 | 88 | static ssize_t rgfs_send(const char *op, const void *buf, size_t buf_len) | static ssize_t rgfs_send(const char *op, const void *buf, size_t buf_len) |
89 | 89 | { | { |
90 | 90 | ssize_t r; | ssize_t r; |
91 | size_t off; | ||
91 | 92 | ||
92 | 93 | if (rgfs_debug > 10) { | if (rgfs_debug > 10) { |
93 | 94 | char debug[4096 * 2 + 1]; | char debug[4096 * 2 + 1]; |
... | ... | static ssize_t rgfs_send(const char *op, const void *buf, size_t buf_len) | |
98 | 99 | xlog(" %s: SEND %u: %s\n", op, buf_len, debug); | xlog(" %s: SEND %u: %s\n", op, buf_len, debug); |
99 | 100 | } | } |
100 | 101 | ||
102 | off = 0; | ||
101 | 103 | do { | do { |
102 | r = gnutls_record_send(session, buf, buf_len); | ||
103 | } while ((r == GNUTLS_E_AGAIN) || (r == GNUTLS_E_INTERRUPTED)); | ||
104 | do { | ||
105 | r = gnutls_record_send(session, buf + off, buf_len - off); | ||
106 | } while ((r == GNUTLS_E_AGAIN) || (r == GNUTLS_E_INTERRUPTED)); | ||
104 | 107 | ||
105 | if (r < 0) { | ||
106 | xlog("Cannot send [%zd]!\n", r); | ||
107 | exit(EXIT_FAILURE); | ||
108 | } else if ((size_t) r < buf_len) { | ||
109 | xlog("Invalid send r=%ld < buf_len=%zu!\n", r, buf_len); | ||
110 | exit(EXIT_FAILURE); | ||
111 | } | ||
108 | if (r < 0) { | ||
109 | xlog("Cannot send [%zd]!\n", r); | ||
110 | exit(EXIT_FAILURE); | ||
111 | } | ||
112 | off += r; | ||
113 | if (off == buf_len) | ||
114 | break; | ||
112 | 115 | ||
113 | return r; | ||
116 | // We sent less than buf_len | ||
117 | xlog("Partial send r=%ld off=%zu < buf_len=%zu!\n", r, off, buf_len); | ||
118 | } while (1); | ||
119 | |||
120 | return buf_len; | ||
114 | 121 | } | } |
115 | 122 | ||
116 | 123 | /* | /* |
Date/time (UTC) | Type | Misc | Labels |
---|---|---|---|
2022-01-30 18:05 | build | centos-8-x86_64 | worker/r1 builder/color=fff worker_elap/36s wait_time/549554s date/2022-01-24 time/09:25 |
2022-01-30 18:33 | build | fedora-34-aarch64 | worker/r1 builder/color=fff worker_elap/1303s wait_time/549638s date/2022-01-24 time/09:25 |
2022-01-30 18:36 | build | fedora-34-x86_64 | worker/r1 builder/color=fff worker_elap/91s wait_time/551263s date/2022-01-24 time/09:25 |
2022-01-30 19:02 | build | fedora-35-aarch64 | worker/r1 builder/color=fff worker_elap/1165s wait_time/551444s date/2022-01-24 time/09:25 |
2022-01-30 19:04 | build | fedora-35-x86_64 | worker/r1 builder/color=fff worker_elap/54s wait_time/553038s date/2022-01-24 time/09:25 |
2022-01-30 19:05 | build | rocky-8-x86_64 | worker/r1 builder/color=fff worker_elap/39s wait_time/553137s date/2022-01-24 time/09:25 |