- 03 Dec, 2018 1 commit
-
-
Vladimír Čunát authored
The problem was the mm_malloc() typo :-/ so allocation was going through malloc() instead of the packet's allocator (always memory pool ATM). I added mm_free() for better correctness anyway.
-
- 28 Nov, 2018 8 commits
-
-
Vladimír Čunát authored
-
Vladimír Čunát authored
- session: data length would be difference between start and end indices, but the function is unused so why even have it?
-
Grigorii Demidov authored
When decoding large packets, gnutls gives the application chunks of size 16kb. So that tls session wirebuffer must be at least KNOT_WIRE_MAX_PKTSIZE + 16kb. (message re-formatted by vcunat)
-
Vladimír Čunát authored
-
Grigorii Demidov authored
-
Grigorii Demidov authored
-
Vladimír Čunát authored
Fixes #424.
-
Vladimír Čunát authored
Fixes #424.
-
- 26 Nov, 2018 18 commits
-
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
Vladimír Čunát authored
There's only very little that makes sense to "inline". My understanding that it makes sense to have such heavier optimization only for the case when no verbose logging is done. This might actually help due to decreasing code size.
-
Vladimír Čunát authored
It's about a hundred of them. The price is making two printf calls instead of one. That seems acceptable; these warning tools can help us in future, and the likelihood of mixing outputs from different processes seems relatively small.
-
Vladimír Čunát authored
-
Vladimír Čunát authored
Function pointers and void* probably can't well interact when using -Wpedantic.
-
Vladimír Čunát authored
-
Vladimír Čunát authored
There's still an unresolved "problem" with QRVERBOSE getting empty variadic list sometimes, and I can't see a good way around that.
-
Vladimír Čunát authored
To simplify this, some of the zonecut API was generalized (API+ABI break). Detected by -Wpedantic.
-
Vladimír Čunát authored
Detected by -Wpedantic
-
Vladimír Čunát authored
-
Marek Vavruša authored
-
Vladimír Čunát authored
-
Vladimír Čunát authored
There seems no potential for modifying this one.
-
Marek Vavruša authored
This allows changing of secret in the checkout layer.
-
Marek Vavruša authored
The checkout layer was moved to where upstream address is known, but before outbound message is sent (or connected to upstream). The reason is to allow checkout layer to block outbound queries without wasting time waiting for connect.
-
- 21 Nov, 2018 13 commits
-
-
Vladimír Čunát authored
We had 35 reports, now we'll have just 7 and mostly in code that's not ours (contrib/*).
-
Vladimír Čunát authored
... and avoid a scan-build error.
-
Vladimír Čunát authored
Also simplify l_ffi_deinit().
-
Vladimír Čunát authored
-
Vladimír Čunát authored
Again, it's just a mechanical change, looking at occurences of the identifiers.
-
Vladimír Čunát authored
It's just a few lines apart. It's been generating lots of noise in CI lint:clang-scan-build.
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
Marek Vavruša authored
This fixes a case when inserting into LRU, and the entry for given key exists, but has allocated smaller value than what's requested.
-
Vladimír Čunát authored
-
Vladimír Čunát authored
Sometimes it's useful to express that pointed-to memory is constant, and free-like functions then just cause extra unreadability.
-
Vladimír Čunát authored
It's more efficient for some our use cases, and hopefully also more idiomatic.
-
Vladimír Čunát authored
-