serenity/Userland/Libraries/LibHTTP
Dan Klishch c03cca7b2f AK+LibTest: Choose definition of CO_TRY and CO_TRY_OR_FAIL more robustly
There are three compiler bugs that influence this decision:

 - Clang writing to (validly) destroyed coroutine frame with -O0 and
   -fsanitize=null,address under some conditions
   (https://godbolt.org/z/17Efq5Ma5) (AK_COROUTINE_DESTRUCTION_BROKEN);

 - GCC being unable to handle statement expressions in coroutines
   (AK_COROUTINE_STATEMENT_EXPRS_BROKEN);

 - GCC being unable to deduce template type parameter for TryAwaiter
   with nested CO_TRYs (AK_COROUTINE_TYPE_DEDUCTION_BROKEN).

Instead of growing an ifdef soup in AK/Coroutine.h and
LibTest/AsyncTestCase.h, define three macros in AK/Platform.h that
correspond to these bugs and use them accordingly in the said files.
2024-06-29 20:15:05 -06:00
..
CMakeLists.txt LibHTTP: Implement bare-bones HTTP/1.1 client using coroutines 2024-06-13 17:40:24 +02:00
Forward.h
Header.h Everywhere: Add HTTP::HeaderMap and use for response headers 2024-06-10 12:01:57 +02:00
HeaderMap.h Everywhere: Add HTTP::HeaderMap and use for response headers 2024-06-10 12:01:57 +02:00
Http11Connection.cpp LibHTTP: Support chunked transfer encoding in async HTTP client 2024-06-13 17:40:24 +02:00
Http11Connection.h AK+LibTest: Choose definition of CO_TRY and CO_TRY_OR_FAIL more robustly 2024-06-29 20:15:05 -06:00
HttpRequest.cpp Everywhere: Use HTTP::HeaderMap for request headers 2024-06-10 12:01:57 +02:00
HttpRequest.h Everywhere: Use HTTP::HeaderMap for request headers 2024-06-10 12:01:57 +02:00
HttpResponse.cpp Everywhere: Add HTTP::HeaderMap and use for response headers 2024-06-10 12:01:57 +02:00
HttpResponse.h Everywhere: Add HTTP::HeaderMap and use for response headers 2024-06-10 12:01:57 +02:00
HttpsJob.cpp
HttpsJob.h LibHTTP+LibCore+RequestServer: Use async streams for HTTP 2024-06-19 15:45:02 +02:00
Job.cpp LibHTTP+LibCore+RequestServer: Use async streams for HTTP 2024-06-19 15:45:02 +02:00
Job.h LibHTTP+LibCore+RequestServer: Use async streams for HTTP 2024-06-19 15:45:02 +02:00