111 Commits (ee9352b1bbd12336c5d463b21304930e39d7afe4)

Author SHA1 Message Date
Glenn Strauss f69bd9cdb8 [core] perf: simple, quick buffer_clear() 4 years ago
Glenn Strauss 9749503b1d [core] separate func to reset FILE_CHUNK 4 years ago
Glenn Strauss 758c58cda5 [core] clear chunk buffer upon release 4 years ago
Glenn Strauss 70d7d0a0a1 [core] server.chunkqueue-chunk-sz = 4096 4 years ago
Glenn Strauss 88ee73d0a2 [multiple] perf: simplify chunkqueue_get_memory() 4 years ago
Glenn Strauss f512bfa4af [core] use chunk_buf_sz instead of hard-coded num 4 years ago
Glenn Strauss 1539cbfdc1 [core] perf: chunkqueue buffers already sized up 4 years ago
Glenn Strauss 8c0792a58c [multiple] better packing of struct chunk 4 years ago
Glenn Strauss fccc7fc607 [core] perf: chunk.c chunk pool 4 years ago
Glenn Strauss a9ae35128d [core] chunk.c code reuse 4 years ago
Glenn Strauss 40d3408328 [core] perf: append response directly into write q 4 years ago
Glenn Strauss 59a71815dc [core] perf: copy small strings; extend last chunk 4 years ago
Glenn Strauss 23c72fc606 [core] perf: prepend headers directly into write q 4 years ago
Glenn Strauss 5a159e828d [core] perf: size write buffers for reuse 4 years ago
Glenn Strauss bed3779617 [core] fix segfault if tempdirs fill up (fixes #2843) 5 years ago
Glenn Strauss f22b5d69da [core] inline chunkqueue_is_empty() 5 years ago
Glenn Strauss 9bc61f16cb [core] attempt to quiet coverity false positives 5 years ago
Glenn Strauss 685cab057e [core] rename fd_close_on_exec() 5 years ago
Glenn Strauss 162e754d0d [core] report file path when mkstemp() fails (fixes #2802) 5 years ago
Glenn Strauss ba953cdf45 [core] include "fdevent.h" where needed 5 years ago
Glenn Strauss a53f662a30 [core] remove some unused header includes 5 years ago
Glenn Strauss b0c66266d9 [core] initialize globals at top of main() 5 years ago
Glenn Strauss 4364a4e029 [core] move network_open_file_chunk() to chunk.c 5 years ago
Glenn Strauss 06cc3dfa59 [core] check fcntl O_APPEND succeeds w/ mkstemp() 6 years ago
Glenn Strauss 204df06814 minor: coverity comments 6 years ago
Glenn Strauss 23503883ba [core] fix potential streaming tempfile corruption (fixes #2760) 6 years ago
Glenn Strauss 8047c2f448 fix errors detected by Coverity Scan 6 years ago
Glenn Strauss c8e647ad31 [core] set chunkqueue tempdirs at startup 6 years ago
Glenn Strauss 72b133f595 fix errors detected by Coverity Scan 6 years ago
Glenn Strauss 1a18669d53 chunkqueue_append_chunkqueue() 6 years ago
Glenn Strauss 879a282de7 fix errors detected by Coverity Scan 6 years ago
Glenn Strauss 5a91fd4b90 [core] buffer large responses to tempfiles (fixes #758, fixes #760, fixes #933, fixes #1387, #1283, fixes #2083) 6 years ago
Glenn Strauss a9568d0ad6 check close() return code after writing to file 6 years ago
Glenn Strauss 77bd45121c [core] retry tempdirs on partial write, ENOSPC (fixes #2588) 6 years ago
Glenn Strauss a65c57a548 [core] open fd when appending file to cq (fixes #2655) 6 years ago
Glenn Strauss 8abd06a7ff consistent inclusion of config.h at top of files (fixes #2073) 6 years ago
Stefan Bühler 566cf8decb add force_assert for more allocation results 6 years ago
Stefan Bühler 6ef3b709db [chunk] fix use after free / double free (fixes #2700) 7 years ago
Stefan Bühler a069548370 [core] revert increase of temp file size back to 1MB, provide a configure option "server.upload-temp-file-size" instead (fixes #2680) 7 years ago
Stefan Bühler 26226271de maintain cq->bytes_in in chunk API; keep bytes_out/bytes_in synced 7 years ago
Stefan Bühler 593599f14a rewrite network (write) backends 7 years ago
Stefan Bühler 5c5616e3e5 increase upload temporary chunk file size from 1MB to 16MB 7 years ago
Stefan Bühler 1371c87c34 fix out-of-filedescriptors when uploading "large" files (fixes #2660, thx rmilecki) 7 years ago
Stefan Bühler 2bd89370fc fix segfault when temp file for upload couldn't be created (found by coverity) 7 years ago
Stefan Bühler ad3e93ea96 Use buffer API to read and modify "used" member 7 years ago
Stefan Bühler 1be163b44a Remove chunkqueue_get_{append,prepend}* API 7 years ago
Stefan Bühler 6afad87d2e fix buffer, chunk and http_chunk API 7 years ago
Stefan Bühler f601b8028b Append to previous buffer in con read (fixes #2147, found by liming, CVE-2010-0295) 12 years ago
Stefan Bühler 22e8b456a9 Fix header inclusion order, always include "config.h" before any system header 13 years ago
Stefan Bühler 52861d77df Replace buffer_{append,copy}_string with the _len variant where possible (#1732, thx crypt) 14 years ago