summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* logger: ensure request cookies are shown in the logcarlosgc/loggerCarlos Garcia Campos2020-11-202-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::startingCarlos Garcia Campos2020-11-205-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 testCarlos Garcia Campos2020-11-202-0/+239
|
* logger: Remove SOUP_LOGGER_LOG_BODYCarlos Garcia Campos2020-11-203-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 Campos2020-11-2019-256/+218
| | | | It's a generic API to copy a GUri, but updating the given components.
* session: make soup_session_cancel_message() privatecarlosgc/statusCarlos Garcia Campos2020-11-159-90/+27
|
* session: make it possible to cancel a message that is pausedCarlos Garcia Campos2020-11-154-4/+60
| | | | | When using the operation cancellable instead of soup_session_cancel_message().
* Stop using soup_session_cancel_message() in testsCarlos Garcia Campos2020-11-1515-155/+103
|
* message: make status-code and reason-phrase properties read onlyCarlos Garcia Campos2020-11-159-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 valuesCarlos Garcia Campos2020-11-1530-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_untilCarlos Garcia Campos2020-11-151-38/+20
| | | | In the case of the server we have always passed NULL as cancellable.
* connection: clear the cancellable before completing the GTaskCarlos Garcia Campos2020-11-151-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 testingPatrick Griffis2020-11-142-1/+4
|
* Restore ability to send/recv `OPTIONS *` messagesPatrick Griffis2020-11-1410-17/+95
| | | | | Since GUri does not support an invalid path of just `*` we have to handle that ourselves.
* Replace SoupURI with GUriPatrick Griffis2020-11-1486-3168/+1729
|
* ci: Build glib masterPatrick Griffis2020-11-142-3/+9
|
* ci: Use podman to generate imagesPatrick Griffis2020-11-141-15/+4
|
* Use GLib API for atomic reference countingPatrick Griffis2020-11-144-12/+14
|
* Update POTFILES.inPiotr Drąg2020-11-141-2/+1
|
* ci: Use image with clang-analyzerPatrick Griffis2020-11-131-1/+1
|
* Silence some scan-build warningsPatrick Griffis2020-11-133-4/+8
|
* ci: Add scan-build stepPatrick Griffis2020-11-131-2/+14
|
* Change soup_add_timeout() to transfer ownershipPatrick Griffis2020-11-137-9/+12
| | | | This is more clear for static analysis.
* Minor header reorganizationPatrick Griffis2020-11-131-5/+4
|
* Change soup_add_completion() to not return a GSourcePatrick Griffis2020-11-132-9/+4
| | | | This was an unref'd source that confused some static analysis.
* misc: Remove unused functionsPatrick Griffis2020-11-133-65/+5
|
* Move content-decoder sources to its own directoryPatrick Griffis2020-11-0914-10/+13
|
* Delete unused resourcesPatrick Griffis2020-11-094-160/+0
|
* Silence build warningPatrick Griffis2020-11-091-9/+6
|
* Delete SoupDirectoryInputStreamPatrick Griffis2020-11-095-324/+0
| | | | This is no longer used now that SoupRequest is gone.
* message: remove SOUP_MESSAGE_IGNORE_CONNECTION_LIMITS flagCarlos Garcia Campos2020-11-075-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 flagCarlos Garcia Campos2020-11-075-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 flagCarlos Garcia Campos2020-11-074-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 APICarlos Garcia Campos2020-11-077-43/+27
|
* message: add convenient API to add, remove and query flagsCarlos Garcia Campos2020-11-074-0/+135
|
* Update POTFILES.inPiotr Drąg2020-11-071-1/+1
|
* Remove type argument from soup_test_session_new()Patrick Griffis2020-11-0628-131/+104
|
* Apply 1 suggestion(s) to 1 file(s)Carlos Garcia Campos2020-11-061-1/+1
|
* Remove properties that behave as functionspgriffis/remove-property-functionsPatrick Griffis2020-11-0514-192/+40
| | | | This goes against all convention and isn't binding friendly.
* message: remove unused server_side member from private structCarlos Garcia Campos2020-11-051-1/+0
|
* websocket: add io priority paramater to soup_session_websocket_connect_asyncCarlos Garcia Campos2020-11-054-10/+15
|
* websocket: remove *_with_extentions variantsCarlos Garcia Campos2020-11-058-306/+105
|
* forms: remove soup_form_request_new APIscarlosgc/form-messageCarlos Garcia Campos2020-11-046-173/+165
| | | | | Add soup_message_new_from_encoded_form() and soup_message_new_from_multipart() instead.
* message: add SoupMessage::accept-certificate signalCarlos Garcia Campos2020-11-0414-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 SoupSocketCarlos Garcia Campos2020-11-049-1291/+94
|
* Move SoupSocket to server directoryCarlos Garcia Campos2020-11-045-2/+2
| | | | It's only used by SoupServer now
* Move SoupSocketProperties declarations to its own headerCarlos Garcia Campos2020-11-048-35/+45
|
* connection: move client side impl from SoupSocket to SoupConnectionCarlos Garcia Campos2020-11-049-292/+536
|
* docs: Fix misc minor warningsPatrick Griffis2020-11-035-9/+9
|
* Remove remaining property aliasesPatrick Griffis2020-11-033-22/+3
|