Commit Graph

27 Commits

Author SHA1 Message Date
An Tao 586fd6d67a
Use shared_ptr to store plugins (#1640) 2023-06-14 10:13:12 +08:00
fantasy-peak 5e245d08dc
Add setsockopt to HttpClient (#1625) 2023-05-31 16:44:12 +08:00
faker 740c34fce3
To avoid accessing a null point, make sure result == OK before accessing the response ptr. (#1195) 2022-03-26 17:02:58 +08:00
James Armes 5245f136b7
Add GCC-compatible warnings to the example executables (#910) 2021-06-27 09:54:02 +08:00
Martin Chang 0b5920a1f3
Fix stack use after scope error in client_example (#707) 2021-02-07 10:35:21 +08:00
An Tao a9f4bff519
Properly handle chunked encoding requests. (#479) 2020-06-16 20:36:31 +08:00
An Tao 58702dc41e
Port drogon to Windows (#335)
Co-authored-by: mcirsta <mforce2@gmail.com>
2020-01-25 11:58:20 +08:00
An Tao 40ffb2d2af
Modify some code styles (#298) 2019-11-21 11:27:47 +08:00
antao 11b6d20a69 clang-format 2019-05-18 20:39:57 +08:00
antao e7dbb3bbc5 Remove 'using namespace drogon' from public headers 2019-02-02 13:45:40 +08:00
antao 7041783579 Modify code style 2019-02-02 11:34:00 +08:00
antao a9e9ced331 Use references instead of values in range-based for loop 2019-01-21 17:39:31 +08:00
antao 5c9799c15a Modify http client for cookies 2019-01-02 16:13:36 +08:00
antao fbe757444f Modify the newHttpClient() method 2018-11-17 17:33:05 +08:00
an-tao eef922ffc5 Update trantor 2018-11-16 00:09:58 +08:00
an-tao e14bc9b41f Split HttpContext class 2018-11-15 22:00:23 +08:00
antao 882a8f8090 Change the registerHttpApiMethod method to a non-static method 2018-11-09 15:21:53 +08:00
antao fcb2ab7880 HttpMethod 2018-10-20 13:45:17 +08:00
antao acc26c0776 Add Http method constraints 2018-10-20 11:20:06 +08:00
antao 2008b1fce6 Add drogon.h for drogon users 2018-10-18 15:54:57 +08:00
antao c9b3dcd9c2 Format all files 2018-10-14 15:56:54 +08:00
antao 2391cc1484 Fix HTTP response parsing bug 2018-09-10 15:50:44 +08:00
antao bb438ba272 add HttpRequest method 2018-08-09 14:12:31 +08:00
antao d1f4ccf3d7 Modify some methods 2018-07-25 21:00:37 +08:00
antao 4f189afdf5 Modify HttpRequest creating interface 2018-07-25 17:07:21 +08:00
antao 278f7abae1 Fix bug in HttpClient 2018-07-24 18:50:25 +08:00
antao 0e68138fa6 Debug HttpClient... 2018-07-24 17:24:23 +08:00