Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | server: close http/2 connection after io error or goaway received | Carlos Garcia Campos | 2022-11-10 | 1 | -0/+13 |
| | |||||
* | server: do not leak idle connections closed by the client | Carlos Garcia Campos | 2022-11-08 | 1 | -0/+29 |
| | |||||
* | server-test: ensure we unpause the message from the server thread | Carlos Garcia Campos | 2022-08-12 | 1 | -1/+3 |
| | |||||
* | server: deprecate soup_server_message_pause/unpause methods | Carlos Garcia Campos | 2022-08-12 | 1 | -7/+5 |
| | | | | | They don't use the server at all, they just call soup_server_message_pause/unpause, so we can make them public instead. | ||||
* | test: add test about invalid percent encoding paths | Ignacio Casal Quinteiro | 2022-01-31 | 1 | -0/+24 |
| | |||||
* | message: rename options-ping property as is-options-ping | Carlos Garcia Campos | 2021-03-29 | 1 | -10/+6 |
| | | | | And add public getter, setter and constructor. | ||||
* | Make soup_message_set_http_version() private | Patrick Griffis | 2021-03-25 | 1 | -0/+1 |
| | |||||
* | Stop using emacs indent-tabs-mode | Carlos Garcia Campos | 2021-03-18 | 1 | -1/+1 |
| | | | | We prefer spaces now instead of tabs. | ||||
* | Use g_memory_output_stream_new_resizable() | Patrick Griffis | 2021-03-05 | 1 | -1/+1 |
| | |||||
* | session: add soup_session_send_and_read APIscarlosgc/send_and_read | Carlos Garcia Campos | 2021-03-03 | 1 | -3/+3 |
| | | | | | | This is convenient API to send a message and read its body into a GBytes. This should replace the basic APIs since it covers the same use case, but using a SoupMessage instead of a URI and with ore flexibility. | ||||
* | Remove http and https aliases support | Carlos Garcia Campos | 2021-02-11 | 1 | -104/+0 |
| | | | | | It doesn't seem to be used. If needed we can just bring it back in the future. | ||||
* | tests: Use TAP format for all output | Patrick Griffis | 2020-12-18 | 1 | -2/+2 |
| | |||||
* | Update soup.h removing private headers | Patrick Griffis | 2020-12-01 | 1 | -0/+1 |
| | |||||
* | Support running tests without ipv6 | Patrick Griffis | 2020-11-26 | 1 | -23/+6 |
| | |||||
* | tests: Add convenient soup_test_assert_handled_by() | Philip Chimento | 2020-11-21 | 1 | -10/+3 |
| | | | | | | This code is repeated a few times, so move it into a macro similar to soup_test_assert_message_status(). This macro will be used a few more times in a subsequent commit. | ||||
* | Stop using soup_session_cancel_message() in tests | Carlos Garcia Campos | 2020-11-15 | 1 | -8/+8 |
| | |||||
* | Remove non-HTTP SoupStatus values | Carlos Garcia Campos | 2020-11-15 | 1 | -8/+8 |
| | | | | | Stop using the message status for internal or transport errors and always use GError for those. | ||||
* | Restore ability to send/recv `OPTIONS *` messages | Patrick Griffis | 2020-11-14 | 1 | -8/+10 |
| | | | | | Since GUri does not support an invalid path of just `*` we have to handle that ourselves. | ||||
* | Replace SoupURI with GUri | Patrick Griffis | 2020-11-14 | 1 | -64/+66 |
| | |||||
* | Remove type argument from soup_test_session_new() | Patrick Griffis | 2020-11-06 | 1 | -13/+12 |
| | |||||
* | Make SoupMessage a private and final type | Patrick Griffis | 2020-10-28 | 1 | -5/+5 |
| | |||||
* | Remove property aliases | Patrick Griffis | 2020-10-28 | 1 | -3/+3 |
| | | | | | | | | | | | This was an oddity of libsoup that no other GObject library does. The downsides are mostly that tooling doesn't expect it so its easy to not document them or not define them and developers don't expect them so they don't realize the defines are just property names or search codebases for one but miss the other. It just doesn't follow convention. | ||||
* | Split SoupMessage into client and server partscarlosgc/split-io | Carlos Garcia Campos | 2020-10-19 | 1 | -82/+106 |
| | | | | Add SoupServerMessage and move there all the server only functionality. | ||||
* | server-test: Fix crash on cleanup | Patrick Griffis | 2020-10-08 | 1 | -1/+0 |
| | | | | index doesn't transfer ownership and shouldn't be unrefed | ||||
* | server-test: Handle do_fd_import_test() being flaky | Patrick Griffis | 2020-10-08 | 1 | -4/+2 |
| | |||||
* | Stop using soup_message_set_request | Carlos Garcia Campos | 2020-10-08 | 1 | -1/+2 |
| | | | | | Use soup_message_set_request_body() or soup_message_set_request_body_from_bytes() instead. | ||||
* | tests: stop using soup_session_send_message in tests | Carlos Garcia Campos | 2020-09-30 | 1 | -21/+26 |
| | | | | | Except for a few tests that seem to be testing the old API that we will remove once the old api is gone. | ||||
* | tests: stop using soup_session_queue_message in tests | Carlos Garcia Campos | 2020-09-30 | 1 | -10/+24 |
| | | | | | Except for a few tests that seem to be testing the old API that we will remove once the old api is gone. | ||||
* | Replace SoupBuffer with GBytes | Patrick Griffis | 2020-09-19 | 1 | -7/+5 |
| | |||||
* | Rename soup_client_context_get_gsocket to soup_client_context_get_socket | Patrick Griffis | 2020-09-19 | 1 | -1/+1 |
| | |||||
* | Delete SoupSocket::fd and all fd exposing APIs | Patrick Griffis | 2020-09-19 | 1 | -1/+1 |
| | |||||
* | tests: More removal of deprecated async session | Patrick Griffis | 2020-09-19 | 1 | -14/+14 |
| | |||||
* | Remove deprecated SoupSessionAsync usage | Patrick Griffis | 2020-09-19 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | connection-test: Remove all deprecated session usage misc-test: Remove sync session usage no-ssl-test: Remove deprecated session usage proxy-test: Remove deprecated session usage resource-test: Remove deprecated session usage redirect-tests: Remove deprecated session usage xmlrpc-test: Remove deprecated session usage timeout-test: Remove sync session usage ssl-test: Remove deprecated session usage session-test: Remove deprecated session usage server-test: Remove sync session usage | ||||
* | Remove deprecated proxy APIs | Patrick Griffis | 2020-09-19 | 1 | -3/+9 |
| | |||||
* | SoupServer: fix to not allow smuggling ".." into path | Ignacio Casal Quinteiro | 2019-09-11 | 1 | -0/+66 |
| | | | | | This was already fixed for Unix like systems but it was still possible to smuggle .. into a windows like server. | ||||
* | Don't use C++ comments as libsoup uses C89 | Tomas Popela | 2017-11-16 | 1 | -1/+1 |
| | |||||
* | tests: fix when building without glib-networking available | Dan Winship | 2015-03-03 | 1 | -1/+3 |
| | | | | | | At some point soup_test_session_new() got broken so that it would always fail if TLS wasn't availble. Fix that. Also fix two tests in server-test that would crash when TLS wasn't available. | ||||
* | tests: plug leaks, update libsoup.supp | Dan Winship | 2015-03-02 | 1 | -2/+7 |
| | |||||
* | soup-server: add soup_client_context_steal_connection() | Dan Winship | 2015-03-01 | 1 | -0/+249 |
| | | | | | | | Add a method to allow a SoupServer handler to steal the connection from the server, and use this in simple-proxy to implement CONNECT. Incorporates a patch from Lionel Landwerlin. | ||||
* | soup-server: add "early" handlers | Dan Winship | 2015-03-01 | 1 | -0/+205 |
| | | | | | | | Add soup_server_add_early_handler(), for registering handlers to be run from got-headers rather than got-body. https://bugzilla.gnome.org/show_bug.cgi?id=625645 | ||||
* | tests: rewrite server-test a bit | Dan Winship | 2015-03-01 | 1 | -100/+117 |
| | | | | | Use setup/teardown functions rather than leaving a single SoupServer running for the whole test. | ||||
* | soup-server: fix return status on server error | Dan Winship | 2015-03-01 | 1 | -0/+97 |
| | | | | | | | If a handler is called, but does not set msg->status_code, return "500 Internal Server Error". Add tests for this and for the automatic 404 case. | ||||
* | tests: add /server/accept/iostream | Marc-André Lureau | 2015-02-21 | 1 | -0/+139 |
| | | | | | | This new test shows how soup_server_accept_iostream() can be used. https://bugzilla.gnome.org/show_bug.cgi?id=744186 | ||||
* | tests: fix small leaks in server-test | Marc-André Lureau | 2015-02-21 | 1 | -0/+2 |
| | | | | Pushed as trivial without review. | ||||
* | tests: port old tests to new SoupServer APIs, add some new tests | Dan Winship | 2014-05-02 | 1 | -26/+334 |
| | |||||
* | tests: use g_test_bug() to annotate test cases | Dan Winship | 2014-03-15 | 1 | -0/+8 |
| | |||||
* | tests: remove debug_printf()s that are redundant with test names | Dan Winship | 2014-03-15 | 1 | -8/+0 |
| | |||||
* | tests: initial port to the gtestutils framework | Dan Winship | 2014-02-08 | 1 | -78/+30 |
| | | | | | Some programs need to be split up into more tests, and the debug output is mostly not updated for the new format. | ||||
* | SoupServer: add :http-aliases and :https-aliases properties | Dan Winship | 2013-08-26 | 1 | -2/+128 |
| | | | | | | | | | Add :http-aliases and :https-aliases properties to SoupServer, to allow it to handle requests like: GET daap://host:port/path HTTP/1.1 https://bugzilla.gnome.org/show_bug.cgi?id=703694 | ||||
* | server-test: split SoupServer-specific tests out of misc-test | Dan Winship | 2013-08-26 | 1 | -0/+251 |