Commits on Source (70)
-
Patrick Griffis authored875c5e84
-
Patrick Griffis authored87b692ca
-
Patrick Griffis authored
This reverts part of commit 87b692ca.
1cc642f0 -
Patrick Griffis authored
No API is tagged as 3_0 but it logically still makes sense and was part of our public API.
64a42c58 -
Maximiliano Sandoval R authored
-
Maximiliano Sandoval R authored
-
Maximiliano Sandoval R authored
The file was not used anywhere docs/reference/client-howto.xml.
-
Maximiliano Sandoval R authored
-
Maximiliano Sandoval R authored
This is never exposed in the public API.
-
Patrick Griffis authored
This reverts commit 0c470eab.
40d38c96 -
Patrick Griffis authored3e45cf7e
-
Patrick Griffis authored
This was never documented and nothing seems to use it.
53e1c32e -
Patrick Griffis authored33eec6f7
-
Patrick Griffis authored64dffe06
-
Patrick Griffis authored1b51db84
-
Patrick Griffis authoreda6581262
-
Patrick Griffis authoredd6ef3479
-
Patrick Griffis authored2cbe4ddb
-
Patrick Griffis authored0ba4a7e9
-
Patrick Griffis authored12de631f
-
Patrick Griffis authored0bb2b7e0
-
Patrick Griffis authoredd38ff12f
-
Milan Crha authored
The soup_ntlm_parse_challenge() can be called multiple times, but it doesn't free any previously stored value, thus causes a memory leak.
7fb26666 -
Carlos Garcia Campos authored
This was only needed for xmlrpc tests
bdf896b9 -
Carlos Garcia Campos authored
Use mpm_event instead of mpm_prefork because http/2 module doesn't support prefork. For now the server prefers http1 because that's what all the tests using apache expect.
245955f8 -
Carlos Garcia Campos authored
Now that apache supports http/2 for tests, we need a way to force http/2 because http1 is still the preferred protocol. This changes the API to force http1 into force http version. It's not exactly the same because force http1 also included http 1.0, but forcing http 1.1 should just work too.
4fd79c8f -
Carlos Garcia Campos authored
Force http version in message to 1.1 and mark it to be restarted. Fixes #275
5a57bdee -
Carlos Garcia Campos authoredbe49da5d
-
Carlos Garcia Campos authored
Fixes #276
9c829496 -
Michael Catanzaro authored
Trying to authenticate the server is cute, but it doesn't work in practice on today's internet. Might as well not do it, because we have to ignore errors if it fails. Reference: #184
071694f9 -
Michael Catanzaro authored
If the server sends a success status code, then whatevs, we good. If there's no WWW-Authenticate header, nothing more is required from us. We're done. If we get status code 200 and a WWW-Authenticate header that contains a value, then go ahead and continue to try to handle it. The preexisting code will print a warning if it's invalid, but treat is as success anyway. The preexisting comment explains why this is necessary. Fixes #184
26909ae9 -
Michael Catanzaro authored
Understanding that RFC 4559 exists would help anybody reading the API docs, and also anybody working on this file.
35eea020 -
Ignacio Casal Quinteiro authored744436ee
-
Ignacio Casal Quinteiro authored0b270434
-
Patrick Griffis authored
This API doesn't listen on both ipv4/ipv6 but other APIs do.
6f611a51 -
Milan Crha authored
Correct a typo in the property name, it should be 'authority' instead.
73176cdc -
Carlos Garcia Campos authored95bade5e
-
Carlos Garcia Campos authored
This is a leftover from the soup3 redesign. The plan was to move the authenticate signal from Session and SoupAuthManager to SoupMessage, but I forgot to remove the signal declaration from SoupAuthManager. There's no actual API break because we never emitted the signal, so this can't break anything.
035328e3 -
Carlos Garcia Campos authored
In case of cancellation the SoupHTTP2MessageData might have already been destroyed.
75ff6267 -
Zurab Kargareteli authored8126d8c3
-
Carlos Garcia Campos authored
Otherwise we get a protocol error since Host header is replaced by :authority pseudo-header field in HTTP/2. Fixes #278
c4980db1 -
Carlos Garcia Campos authored3ffdf14e
-
Carlos Garcia Campos authored
Also reuse the host address for connections to the same host.
a81f7567 -
Carlos Garcia Campos authored
Ensure that queue items are only processed in the same thread they were created.
f3cdcf8d -
Carlos Garcia Campos authored02ffd064
-
Carlos Garcia Campos authored212a8597
-
Carlos Garcia Campos authored
Also use a condition for sync requests to wait until a connection is available.
47a2799c -
Carlos Garcia Campos authored
Add blocking parameter to SoupBodyInputStreamHttp2::need-more-data and only do sync IO when input stream read is blocking too.
522f8c50 -
Carlos Garcia Campos authored
nghttp2 session can't be used by multiple threads at the same time, so we need to ensure that only messages from the same thread share the connection. Connections in idle state can be reused from other threads, though but we need to ensure all the pending IO is completed before switching to another thread. When the connection switches to IN_USE state, the current thread becomes the owner of the connection IO. In the case of HTTP/2 there might be session IO not related to a particular message, in that case a thread with no default context is considered synchronous and all IO that is not explicitly sync or async will be sync.
e3333be1 -
Carlos Garcia Campos authored554137e0
-
Carlos Garcia Campos authored81aadbf3
-
Carlos Garcia Campos authored2433d46d
-
Carlos Garcia Campos authored3260abc4
-
Carlos Garcia Campos authored1bb3af2a
-
Carlos Garcia Campos authored
We can use the same approach as http2 backend and call soup_logger_log_request_data() from the body stream wrote data callback.
05d07ee4 -
Carlos Garcia Campos authored
GWeakRef is thread safe
2479d9f7 -
Carlos Garcia Campos authored
It's not thread safe and it's accessed by message IO from multiple threads. Session features are not that many so iterating every time should be fast enough.
feed52e8 -
Carlos Garcia Campos authored
The connection thread owner might change, so the context where the idle timeout source was attached might be destroyed while the connection is still alive. So, better use the session context always, since disconnecting at idle state is always safe from the session thread.
09e5ec1f -
Carlos Garcia Campos authored55e41fa1
-
Carlos Garcia Campos authored7bea60ce
-
Carlos Garcia Campos authoredf851e6c6
-
Carlos Garcia Campos authored
Fixes #284
2253f091 -
Carlos Garcia Campos authored6be67ca5
-
Michael Catanzaro authoredb3b5f598
-
Michael Catanzaro authored335da305
-
Carlos Garcia Campos authored
(get:18601): libsoup-WARNING **: 11:25:03.814: (../libsoup/soup-session.c:318):soup_session_dispose: runtime check failed: (soup_connection_manager_get_num_conns (priv->conn_manager) == 0) (get:18601): libsoup-WARNING **: 11:25:03.814: (../libsoup/soup-connection-manager.c:78):soup_host_free: runtime check failed: (host->conns == NULL) This happens because we increase the in use counter of the connection when RST_STREAM message is sent, that is decreased when the frame is actually sent. In case of IO error, like socket timeout, we fail to send the RST_STREAM frame, and the in use counter of the connection is not decreased. We now process all pending closed messages when a frame fails to be sent due to session being closed.
af08140b -
Carlos Garcia Campos authored
We don't support http/2 proxies yet.
41431bee -
Carlos Garcia Campos authored
This means it's a graceful goaway and we should not allow new requests, another goaway is expected with the actual last stream id that should be processed. Fixes #233
a6161e5e -
Patrick Griffis authoredec9a66fb
-
Jeremy Bicha authored25abb0d5
.gitlab-ci/check-docs.py
deleted
100755 → 0
docs/reference/build-howto.md
0 → 100644
docs/reference/build-howto.xml
deleted
100644 → 0
docs/reference/client-advanced.md
0 → 100644
docs/reference/client-advanced.xml
deleted
100644 → 0
docs/reference/client-howto.xml
deleted
100644 → 0
docs/reference/client-thread-safety.md
0 → 100644
docs/reference/libsoup-3.0-docs.xml
deleted
100644 → 0
This diff is collapsed.
docs/reference/libsoup.toml.in
0 → 100644
docs/reference/migrating-from-libsoup-2.md
0 → 100644
docs/reference/server-howto.md
0 → 100644
docs/reference/server-howto.xml
deleted
100644 → 0
docs/reference/urlmap.js
0 → 100644