Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | logger: ensure request cookies are shown in the logcarlosgc/logger | Carlos Garcia Campos | 2020-11-20 | 2 | -3/+54 |
| | | | | | | | | | | | Cookies feature includes the cookies request information in a SoupMessage::starting callback, same callback used by the logger to print the request information. If the cookies feature is created before the logger, the starting logger callback is called before the cookies one, and the cookies header hasn't been added yet. Use g_signal_connect_after() in the logger to ensure the callback is called after all other features have updated the message in the starting signal. | ||||
* | Set the Host header before emiting SoupMessage::starting | Carlos Garcia Campos | 2020-11-20 | 5 | -58/+46 |
| | | | | | This way we don't need to specially handle the Host header in the logger and the message io when writing the headers. | ||||
* | tests: add a SoupLogger test | Carlos Garcia Campos | 2020-11-20 | 2 | -0/+239 |
| | |||||
* | logger: Remove SOUP_LOGGER_LOG_BODY | Carlos Garcia Campos | 2020-11-20 | 3 | -66/+19 |
| | | | | It's no longer possible to log the message body now that we use streams | ||||
* | uri-utils: add soup_uri_copy() | Carlos Garcia Campos | 2020-11-20 | 19 | -256/+218 |
| | | | | It's a generic API to copy a GUri, but updating the given components. | ||||
* | session: make soup_session_cancel_message() privatecarlosgc/status | Carlos Garcia Campos | 2020-11-15 | 9 | -90/+27 |
| | |||||
* | session: make it possible to cancel a message that is paused | Carlos Garcia Campos | 2020-11-15 | 4 | -4/+60 |
| | | | | | When using the operation cancellable instead of soup_session_cancel_message(). | ||||
* | Stop using soup_session_cancel_message() in tests | Carlos Garcia Campos | 2020-11-15 | 15 | -155/+103 |
| | |||||
* | message: make status-code and reason-phrase properties read only | Carlos Garcia Campos | 2020-11-15 | 9 | -67/+20 |
| | | | | | Now that status code is only used for HTTP values, there's no reason for users to set a status | ||||
* | Remove non-HTTP SoupStatus values | Carlos Garcia Campos | 2020-11-15 | 30 | -514/+364 |
| | | | | | Stop using the message status for internal or transport errors and always use GError for those. | ||||
* | server-io: remove unused GCancellable from io_run_until | Carlos Garcia Campos | 2020-11-15 | 1 | -38/+20 |
| | | | | In the case of the server we have always passed NULL as cancellable. | ||||
* | connection: clear the cancellable before completing the GTask | Carlos Garcia Campos | 2020-11-15 | 1 | -3/+3 |
| | | | | | | | | The session calls soup_connection_disconnect() on the GTask callback in case of error. At that point cancellable should be NULL already, since the operation completed. Fixes #206 | ||||
* | docker: Add more devel tools for testing | Patrick Griffis | 2020-11-14 | 2 | -1/+4 |
| | |||||
* | Restore ability to send/recv `OPTIONS *` messages | Patrick Griffis | 2020-11-14 | 10 | -17/+95 |
| | | | | | 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 | 86 | -3168/+1729 |
| | |||||
* | ci: Build glib master | Patrick Griffis | 2020-11-14 | 2 | -3/+9 |
| | |||||
* | ci: Use podman to generate images | Patrick Griffis | 2020-11-14 | 1 | -15/+4 |
| | |||||
* | Use GLib API for atomic reference counting | Patrick Griffis | 2020-11-14 | 4 | -12/+14 |
| | |||||
* | Update POTFILES.in | Piotr Drąg | 2020-11-14 | 1 | -2/+1 |
| | |||||
* | ci: Use image with clang-analyzer | Patrick Griffis | 2020-11-13 | 1 | -1/+1 |
| | |||||
* | Silence some scan-build warnings | Patrick Griffis | 2020-11-13 | 3 | -4/+8 |
| | |||||
* | ci: Add scan-build step | Patrick Griffis | 2020-11-13 | 1 | -2/+14 |
| | |||||
* | Change soup_add_timeout() to transfer ownership | Patrick Griffis | 2020-11-13 | 7 | -9/+12 |
| | | | | This is more clear for static analysis. | ||||
* | Minor header reorganization | Patrick Griffis | 2020-11-13 | 1 | -5/+4 |
| | |||||
* | Change soup_add_completion() to not return a GSource | Patrick Griffis | 2020-11-13 | 2 | -9/+4 |
| | | | | This was an unref'd source that confused some static analysis. | ||||
* | misc: Remove unused functions | Patrick Griffis | 2020-11-13 | 3 | -65/+5 |
| | |||||
* | Move content-decoder sources to its own directory | Patrick Griffis | 2020-11-09 | 14 | -10/+13 |
| | |||||
* | Delete unused resources | Patrick Griffis | 2020-11-09 | 4 | -160/+0 |
| | |||||
* | Silence build warning | Patrick Griffis | 2020-11-09 | 1 | -9/+6 |
| | |||||
* | Delete SoupDirectoryInputStream | Patrick Griffis | 2020-11-09 | 5 | -324/+0 |
| | | | | This is no longer used now that SoupRequest is gone. | ||||
* | message: remove SOUP_MESSAGE_IGNORE_CONNECTION_LIMITS flag | Carlos Garcia Campos | 2020-11-07 | 5 | -71/+15 |
| | | | | | | This was added for a very specific case of WebKit and it's no longer needed. Nobody else seems to be using it and it complicates the connection creation algorithm, so better remove it. | ||||
* | message: remove SOUP_MESSAGE_CONTENT_DECODED flag | Carlos Garcia Campos | 2020-11-07 | 5 | -46/+17 |
| | | | | | Flags are expected to be set by the user to modify the behavior of a message, not by libsoup to notify the user. | ||||
* | message: remove SOUP_MESSAGE_CERTIFICATE_TRUSTED flag | Carlos Garcia Campos | 2020-11-07 | 4 | -15/+7 |
| | | | | | | Flags are expected to be set by the user to modify the behavior of a message, not by libsoup to notify the user. It's still possible to check if certificate was trusted by checking the tls errors | ||||
* | Use the new SoupMessage flags API | Carlos Garcia Campos | 2020-11-07 | 7 | -43/+27 |
| | |||||
* | message: add convenient API to add, remove and query flags | Carlos Garcia Campos | 2020-11-07 | 4 | -0/+135 |
| | |||||
* | Update POTFILES.in | Piotr Drąg | 2020-11-07 | 1 | -1/+1 |
| | |||||
* | Remove type argument from soup_test_session_new() | Patrick Griffis | 2020-11-06 | 28 | -131/+104 |
| | |||||
* | Apply 1 suggestion(s) to 1 file(s) | Carlos Garcia Campos | 2020-11-06 | 1 | -1/+1 |
| | |||||
* | Remove properties that behave as functionspgriffis/remove-property-functions | Patrick Griffis | 2020-11-05 | 14 | -192/+40 |
| | | | | This goes against all convention and isn't binding friendly. | ||||
* | message: remove unused server_side member from private struct | Carlos Garcia Campos | 2020-11-05 | 1 | -1/+0 |
| | |||||
* | websocket: add io priority paramater to soup_session_websocket_connect_async | Carlos Garcia Campos | 2020-11-05 | 4 | -10/+15 |
| | |||||
* | websocket: remove *_with_extentions variants | Carlos Garcia Campos | 2020-11-05 | 8 | -306/+105 |
| | |||||
* | forms: remove soup_form_request_new APIscarlosgc/form-message | Carlos Garcia Campos | 2020-11-04 | 6 | -173/+165 |
| | | | | | Add soup_message_new_from_encoded_form() and soup_message_new_from_multipart() instead. | ||||
* | message: add SoupMessage::accept-certificate signal | Carlos Garcia Campos | 2020-11-04 | 14 | -185/+260 |
| | | | | | | | And remove the SoupSession:ssl-strict property, apps can connect to accept-certificate and return TRUE to accept certificates with errors. soup_message_get_https_status has been replaced by property getters and both properties are now read only. | ||||
* | socket: remove unused code from SoupSocket | Carlos Garcia Campos | 2020-11-04 | 9 | -1291/+94 |
| | |||||
* | Move SoupSocket to server directory | Carlos Garcia Campos | 2020-11-04 | 5 | -2/+2 |
| | | | | It's only used by SoupServer now | ||||
* | Move SoupSocketProperties declarations to its own header | Carlos Garcia Campos | 2020-11-04 | 8 | -35/+45 |
| | |||||
* | connection: move client side impl from SoupSocket to SoupConnection | Carlos Garcia Campos | 2020-11-04 | 9 | -292/+536 |
| | |||||
* | docs: Fix misc minor warnings | Patrick Griffis | 2020-11-03 | 5 | -9/+9 |
| | |||||
* | Remove remaining property aliases | Patrick Griffis | 2020-11-03 | 3 | -22/+3 |
| |