12 Commits (bffe96f5d091685b4a8357f0547976a6ec71c4d6)

Author SHA1 Message Date
Stefan Bühler 17a5168793 [core] convert all assert() to LI_FORCE_ASSERT(), and support writing backtraces on fatal errors with libunwind 8 years ago
Stefan Bühler 72ec9a432f [throttle] rewrite 9 years ago
Stefan Bühler b1c45e6a8f [chunk/network] use glib error system to report errors (instead of using virtualrequest context) 10 years ago
Stefan Bühler 11fa781f98 Fix some warnings found with clang analyzer 11 years ago
Stefan Bühler b87e74d151 Optimize IO handling to safe syscalls; run vrequest state machines twice before looking for new io events 12 years ago
Stefan Bühler 048a7d9144 Append to previous buffer in network reads, save used buffer in custom location 12 years ago
Stefan Bühler 750bd453a2 Append to previous buffer in network reads 12 years ago
Stefan Bühler 3c2cef5f0d Handle ETIMEDOUT as connection close 12 years ago
Stefan Bühler 0c3ca6b13b add liBuffer: a reference-counted memory chunk (using mempool) for basic network data 12 years ago
Stefan Bühler 8f69c6bc8d Reduce buffer allocs for network read 12 years ago
Stefan Bühler c3ae0163c8 Use less pointers in chunks, "inline" structures 12 years ago
Stefan Bühler 540ff7db02 Split sources into subdirs 13 years ago
Stefan Bühler 282a2d1b4a Prefix LI_API functions with "li_" 13 years ago
Stefan Bühler 99b203e3d8 Prefix typenames, enums and some macros with "li" and "LI_"; CamelCase TypeNames 13 years ago
Thomas Porzelt 383fa6a4f5 - introduce throttling via pools, rework throttling by connection 13 years ago
Stefan Bühler 595ce1fe13 Add wrk in vrequest, s/vr->con->wrk/vr->wrk/, removed some other (broken) usages of vr->con 13 years ago
Stefan Bühler 691939dbdc Rename MEM_CHUNK to STRING_CHUNK and add new MEM_CHUNK with GByteArray as content 13 years ago
Thomas Porzelt b93c0c3f85 fix updating of io timeout 13 years ago
Stefan Bühler 98a36e970a Change mod_fastcgi to not wait for complete packets (enables limits < 64kbyte); fix some limit handling. 13 years ago
Thomas Porzelt 2df4d9686b fix wrong parameter con instead of new vr in network.c when USE_SENDFILE not defined 13 years ago
Stefan Bühler 2040c059d1 Fix connection/network_write state machine 13 years ago
Thomas Porzelt 1954f46a03 return NETWORK_STATUS_WAIT_FOR_AIO_EVENT instead of NETWORK_STATUS_WAIT_FOR_EVENT when throttling 13 years ago
Stefan Bühler 94b4dcc764 Generic sendfile implementation (supports linux,solaris and freebsd now) 13 years ago
Stefan Bühler 91d4868ef4 Move stats and throttle to network.c 13 years ago
Stefan Bühler 3dceeb5916 Move include files into a separate directory and cleanup include order 13 years ago
Thomas Porzelt 358b9f95f1 implement throttling, change some time_t to ev_tstamp 13 years ago
Thomas Porzelt d56e5c2ea9 implement waitqueues (utils), change connection io timeouts to use those 13 years ago
Thomas Porzelt b491e91c68 add io timeouts 13 years ago
Thomas Porzelt 0a63fc8058 add client addr string and traffic stats for connections and workers 13 years ago
Stefan Bühler 649f7baf78 Modify header usage; include all core headers from base.h and forbid direct including of core headers. Move typedefs into separate header. 13 years ago
Stefan Bühler 566cbdb024 virtual requests; they replace a big part from connection. 13 years ago
Stefan Bühler 2b9147ba50 Fix missing ':' after case EWOULDBLOCK 14 years ago
Stefan Bühler 0fe9176d6f Splitted worker from server; removed "server *srv" from most function which also have "connection *con" 14 years ago
Stefan Bühler 1bc8c85266 * replace strerror with g_strerror, kill errno from logging 14 years ago
Stefan Bühler 754ee742b2 Start splitting network backends, added writev and TCP_CORK 14 years ago
Stefan Bühler b8e3535546 Enabled options, moved some initializing 14 years ago
Stefan Bühler 8de2c27ec6 Fix some bugs/warnings. 14 years ago
Stefan Bühler 2546ce9259 Use ev_now for current timestamp, clean usage of shutdown (wait for eof before close) 14 years ago
Stefan Bühler 1ed36c93b9 Handle write errors (fixes ab keep-alive problems) 14 years ago
Stefan Bühler 3041e2429d Fix writing (unititialized var) 14 years ago
Stefan Bühler 2fbc7b1408 Basic connection state machine 14 years ago
Stefan Bühler 0a514f657e server/connection/request functions 14 years ago