Commit Graph

  • 4587bb4040 example. He, Wanchen 2024-06-15 23:16:04 +08:00
  • 75c12c8c69 Better test. He, Wanchen 2024-06-15 20:40:49 +08:00
  • 2c41e8e1d2 Fix build. He, Wanchen 2024-06-15 18:03:31 +08:00
  • e1359a81e3 Use sync sleep. He, Wanchen 2024-06-15 17:56:50 +08:00
  • fa4f912497 Add testcase. He, Wanchen 2024-06-15 17:21:04 +08:00
  • c4823447b5 Add integration test cases. He, Wanchen 2024-06-14 15:38:01 +08:00
  • b9e01e3989 Do integrated test again in stream mode. He, Wanchen 2024-06-14 14:46:11 +08:00
  • 76c6708a4a config. He, Wanchen 2024-06-14 14:35:18 +08:00
  • 0e59e940f7 Simplify StreamHandler, use one callback for success and error. He, Wanchen 2024-06-14 12:28:49 +08:00
  • 22ea92273b Better way to handle content-length header. He, Wanchen 2024-06-14 11:44:54 +08:00
  • 030e5ca70d Fix include. He, Wanchen 2024-06-13 18:25:52 +08:00
  • 5453bbcef0 Fix include. He, Wanchen 2024-06-13 18:14:04 +08:00
  • 96eae6d245 Fix win build. He, Wanchen 2024-06-13 17:21:15 +08:00
  • b3dbbd582d MultipartHandler notify field finish. He, Wanchen 2024-06-13 17:08:43 +08:00
  • 635056778a Fix cpp17. He, Wanchen 2024-06-13 16:57:14 +08:00
  • 44468113bc Minor. He, Wanchen 2024-06-13 16:54:27 +08:00
  • 5e564bb17b Add stream_echo to example. He, Wanchen 2024-06-13 16:13:17 +08:00
  • 8f767ef7a5 Use custom exception class. He, Wanchen 2024-06-13 16:02:51 +08:00
  • 6d91c19228 Fix and add unittest for MultipartStreamParser. He, Wanchen 2024-06-13 15:30:40 +08:00
  • bad0e2321c restore. He, Wanchen 2024-06-13 14:19:35 +08:00
  • 332f90ef83 Fix mishandling of body oversize. He, Wanchen 2024-06-13 13:36:48 +08:00
  • b0c91dccb9 reset startProcessing_ flag. He, Wanchen 2024-06-13 00:16:02 +08:00
  • ad2ee11a08 Update example. He, Wanchen 2024-06-12 19:34:09 +08:00
  • c8a605348b Ignore client data after shutdown. He, Wanchen 2024-06-12 19:31:49 +08:00
  • 38ddb0c0fc Let user send response when stream error. He, Wanchen 2024-06-12 19:06:17 +08:00
  • ad79bb293c Check stream error after waitForStreamFinish(). He, Wanchen 2024-06-12 16:38:09 +08:00
  • 2a6af9fa01 Move HttpRequestParser::shutdownConnection logic to HttpServer. He, Wanchen 2024-06-12 15:17:39 +08:00
  • e466c5d69d rename. He, Wanchen 2024-06-12 14:56:24 +08:00
  • 227fbef224 Rename. He, Wanchen 2024-06-12 11:58:40 +08:00
  • d0c449c303 Do not enter stream mode if request body empty. He, Wanchen 2024-06-12 11:04:41 +08:00
  • 3b3790320b Prevent circular reference. He, Wanchen 2024-06-12 00:54:57 +08:00
  • f56489af7b Check streamCtx in example. He, Wanchen 2024-06-12 00:42:44 +08:00
  • c5800a78b2 Handle non-stream handler before post-routing point. He, Wanchen 2024-06-12 00:40:03 +08:00
  • dc6531a9a6 Better buffer implementation for MultipartStreamParser. He, Wanchen 2024-06-11 18:06:15 +08:00
  • fe1f809c36 Update HttpRequestImpl reset and swap. He, Wanchen 2024-06-11 15:57:32 +08:00
  • 8f76ab6f08 Fix coredump when zero or absent content-length. He, Wanchen 2024-06-11 15:09:25 +08:00
  • 25d1ebd268 Better place to wait full body. He, Wanchen 2024-06-11 14:45:51 +08:00
  • 9aeca3b735 hold weak ptr. He, Wanchen 2024-06-10 20:35:07 +08:00
  • 3f8ce5ba1e missing DROGON_EXPORT. He, Wanchen 2024-06-10 19:40:56 +08:00
  • d2aa7fe85c Better position to call waitForFullBody. He, Wanchen 2024-06-10 15:44:06 +08:00
  • 1febc129b8 rename. He, Wanchen 2024-06-10 03:07:44 +08:00
  • 28e9502a10 call streamError on connection close. He, Wanchen 2024-06-10 00:46:45 +08:00
  • bd3f7eb082 Fix circular reference issue. He, Wanchen 2024-06-09 23:37:17 +08:00
  • 892b5c42a0 Wait for full body. He, Wanchen 2024-06-09 15:12:16 +08:00
  • 6b6e484a55 StreamContext. He, Wanchen 2024-06-09 14:21:36 +08:00
  • 98cba52623 Example. He, Wanchen 2024-06-08 21:50:06 +08:00
  • efe3e924dd Add finishCb and errorCb; Implement multipart handling. He, Wanchen 2024-06-08 19:09:44 +08:00
  • 8908836a9a Set stream handler in loop. He, Wanchen 2024-06-07 13:44:01 +08:00
  • 6830fdabd1 Draft. He, Wanchen 2024-06-07 00:05:15 +08:00
  • 5c600768d6 Add switch. He, Wanchen 2024-06-06 18:41:23 +08:00
  • dd01309066 HttpRequest stream api. He, Wanchen 2024-06-06 18:11:56 +08:00
  • dfacd1b454
    Add setsockopt to HttpServer (#2086) fantasy-peak 2024-07-02 10:04:56 +08:00
  • 4729d19a18 Add setsockopt to HttpServer #2086 fantasy-peak 2024-06-28 13:17:47 +08:00
  • 85b918f9e9
    Update README.md (#2080) Chuck 2024-06-20 19:04:11 -07:00
  • 3c45d51969
    Update README.md #2080 Chuck 2024-06-20 14:36:31 -07:00
  • e7eff323a6
    fix failing on debug mode (#2079) v1.10.0-beta.2 Martin Chang 2024-06-20 20:52:14 +08:00
  • 22466deb9c fix failing on debug mode #2079 marty1885 2024-06-20 17:08:53 +08:00
  • 7b8d0085b1
    Delay parsing json for HttpClient (#2077) fantasy-peak 2024-06-20 00:09:08 +08:00
  • f6913f6328 Add an example of prometheus (#2076) An Tao 2024-06-19 13:56:56 +08:00
  • cf8815496d Delay parsing json for HttpClient #2077 fantasy-peak 2024-06-19 14:00:52 +08:00
  • ae0026217b Boundaries #2076 antao 2024-06-19 00:03:33 +08:00
  • dff6ec6ae6 Remove unused files antao 2024-06-18 22:23:15 +08:00
  • ed751acfb9 Fix antao 2024-06-18 22:13:50 +08:00
  • 223cd4ae73 path antao 2024-06-18 22:11:43 +08:00
  • 863dcab39a Readme antao 2024-06-18 22:03:46 +08:00
  • 2454e804a1 Fix names antao 2024-06-18 21:41:03 +08:00
  • 651e6943ac Fix a bug antao 2024-06-18 20:59:32 +08:00
  • 88bf6f7fcb
    Update ChangeLog.md Martin Chang 2024-06-18 14:38:36 +08:00
  • 80ff0a4869
    Update ChangeLog.md Martin Chang 2024-06-18 14:36:45 +08:00
  • 70f1f8f38f Merge remote-tracking branch 'origin/master' into http2-beta marty1885 2024-06-18 14:25:49 +08:00
  • 29c8540aa8 Merge branch 'http2-beta' of github.com:drogonframework/drogon into http2-beta marty1885 2024-06-18 14:25:23 +08:00
  • 518bda2865
    Fix HTTP/2 triggering RST_STREAM from google API servers when sending large (>64KB) of body (#2064) Martin Chang 2024-06-18 13:52:34 +08:00
  • cd633c26cd Lint antao 2024-06-18 01:23:58 +08:00
  • 0b620e62ed Fix compilation an-tao 2024-06-18 01:21:57 +08:00
  • b816f3469a Add a example of prometheus antao 2024-06-17 23:53:10 +08:00
  • 31d84004eb format #2064 marty1885 2024-06-17 20:59:09 +08:00
  • 1362fb8038 Handle RST_STREAM after stream end marty1885 2024-06-17 20:57:18 +08:00
  • a2f759e4cd
    Update trantor (#2074) Martin Chang 2024-06-17 18:59:57 +08:00
  • 411b4f35ac Better protection against request smuggling marty1885 2024-06-17 18:01:00 +08:00
  • 0b1e1fe496 update trantor #2074 marty1885 2024-06-17 17:27:01 +08:00
  • 1ee03c5d78 proactivly send http2 data to avoid realloation on send buffer marty1885 2024-06-16 11:59:49 +08:00
  • c607930bee slight cleanup marty1885 2024-06-15 23:06:05 +08:00
  • bad50e76af slightly better tracking of goaway stream id marty1885 2024-06-15 22:54:37 +08:00
  • ad2b7e13e1
    Fix typo in yaml config. (#2069) Nitromelon 2024-06-15 10:27:51 +08:00
  • b587427971 Fix typo in yaml config. #2069 He, Wanchen 2024-06-14 14:30:25 +08:00
  • 23a5b82f9a
    Merge b4399e70db47672493d351e1383d44e99ae88993 into b04dfd7f962d5095fcd59ba206f4fd1c4278b6d2 #1942 An Tao 2024-06-13 16:23:33 +00:00
  • b04dfd7f96
    Fix some compilation warnings (#2066) An Tao 2024-06-13 17:11:03 +08:00
  • 2341a3fd46 Fix some compilation warnings #2066 an-tao 2024-06-13 15:08:42 +08:00
  • 39f3315e12 remove unused overload, fix possibly reading to null on push marty1885 2024-06-12 23:32:54 +08:00
  • 1af6fa302d update eric-hpack-core (fix UB) marty1885 2024-06-12 23:17:31 +08:00
  • 08eea13fca try to catch nullptr in read() marty1885 2024-06-12 22:16:36 +08:00
  • ce37708192 revise and clean up stream continuation logic marty1885 2024-06-12 14:42:53 +08:00
  • 2bc13b74df fix underflow in remaining amount calculation marty1885 2024-06-12 14:20:21 +08:00
  • 040d25accd fix underflow error in tacking stream flow marty1885 2024-06-12 14:07:51 +08:00
  • 92b70f0d64 merge with master marty1885 2024-06-10 15:32:50 +08:00
  • de5a4a5f57
    Allow MultiPartParser to parse PATCH requests (#2062) Muhammad 2024-06-09 18:46:57 +03:00
  • 781dac762f Allow MultiPartParser to parse PATCH requests #2062 Mis1eader-dev 2024-06-09 18:25:22 +03:00
  • 8bdb9b2fa6
    Bump version to 1.9.5 (#2057) v1.9.5 An Tao 2024-06-08 20:31:23 +08:00
  • 947ee177c0 Bump version to 1.9.5 #2057 an-tao 2024-06-08 18:07:50 +08:00
  • 0a889e921d
    Add registerMiddleware (#2052) fantasy-peak 2024-06-04 17:05:52 +08:00