- Mar 25, 2020
-
-
Timo Teräs authored
- split the code to a helper function - do not set sockets to corked state when putting back to cache so socket state is always deterministic - cork/uncork also when sending CONNECT to a proxy, this can reduce a little bit the latency how fast the packet gets sent out - also pair corking with uncorking in http_request to make it more obvious pairing
-
The recent TCP_CORK change missed this bit of code. This change should improve performance a bit when making HTTP requests by calling http_cmd only once instead of three times.
-
- Mar 23, 2020
-
-
-
Timo Teräs authored
-
Timo Teräs authored
-
- Mar 21, 2020
-
-
Some screen size are quite small. For example, the default phosh terminal is less than 50 character wide on Pinephone. This lowers the minimum loading bar size to 25 characters. For comparison, 25 character wide is just as wide as "apk add firefox linux-lts" without the quotes. Here's a bad picture to illustrate the result gitlab.alpine.org/uploads/48c20f746fbf685b62b6bd73585ecbf2/pinephone-phosh.png
-
fixes #10677 src/apk_defines.h:152:15: error: unknown type name 'uint32_t' static inline uint32_t get_unaligned32(const void *ptr) ^~~~~~~~
-
- Mar 16, 2020
-
-
- always create .so and .a with the apk libary code - create .pc file - install headers and above mentioned files Maintainers edit: merged commits, cleaned up sed script logic, and few other minor fixes.
-
- Feb 23, 2020
-
-
Jakub Jirutka authored
I'm sorry about that. :/
-
Jakub Jirutka authored
-
Jakub Jirutka authored
-
Jakub Jirutka authored
-
- Feb 21, 2020
-
-
Timo Teräs authored
-
- Feb 18, 2020
-
-
Timo Teräs authored
Unfortunately libfetch operates on raw sockets and is sending each HTTP request line using separate syscall which causes the HTTP request to be sent as multiple packets over the wire in most configurations. This is not good for performance, but can also cause subtle breakage if there's DPI firewall that does not get the Host header. Incidentally, it seems that on BSDs libfetch already sets TCP_NOPUSH optimize the packetization. This commit adds same logic for using TCP_CORK if available. When using TCP_CORK there is no requirement to set TCP_NODELAY as uncorking will also cause immediate send. Keep TCP_NODELAY in the fallback codepaths. Long term, it might make sense to replace or rewrite libfetch to use application level buffering.
-
- Feb 17, 2020
-
-
Timo Teräs authored
- do not do unaligned accesses on non-x86 hardware - clean up the code a little bit
-
- Feb 14, 2020
-
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
-
- Feb 04, 2020
-
-
Timo Teräs authored
Related to MR !15
-
Timo Teräs authored
Instead, to make sure test mode produces same output, redefine time() for the test mode binary. Reverts parts of 0b82bcc5.
-
- Jan 26, 2020
-
-
Timo Teräs authored
-
Timo Teräs authored
The help has been moved to man pages now.
-
Timo Teräs authored
That list is needed in multiple places, so it simplifies things a bit.
-
Timo Teräs authored
-
-
-
-
Detailed docs have been removed from the apk binaries, in favor of git-style short summaries of each command.
-
-
-
-
-
-
-
-
-
-
-
-
-