1. 12 Jul, 2019 1 commit
  2. 10 Jul, 2019 1 commit
    • Claudio Saavedra's avatar
      SoupMessage: seal access to private members · 74866bba
      Claudio Saavedra authored
      Remove the GET_PRIVATE macro and add private getters and setters
      for all private members that are accessed internally. This cleans
      all deprecation warnings generated from using the GET_PRIVATE macro.
  3. 07 Jul, 2019 1 commit
    • Thibaut Robert's avatar
      ntlm: fix ntlmv2 authentication · c51f9f63
      Thibaut Robert authored
      This patch add the NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY bit in the flags
      of the NTLM type 3 response when using NTLMv2. This seems to be required for
      some servers.
  4. 04 Jul, 2019 2 commits
  5. 27 Jun, 2019 1 commit
    • Carlos Garcia Campos's avatar
      WebSockets: allow null characters in text messages data · 109bb2f6
      Carlos Garcia Campos authored
      RFC 6455 says that text messages should contains valid UTF-8, and null
      characters valid according to RFC 3629. However, we are using
      g_utf8_validate(), which considers null characters as errors, to
      validate WebSockets text messages. This patch adds an internal
      utf8_validate() function based on g_utf8_validate() but allowing null
      characters and just returning a gboolean since we are always ignoring
      the end parameter in case of errors.
      soup_websocket_connection_send_text() assumes the given text is null
      terminated, so we need a new public function to allow sending text
      messages containing null characters. This patch adds
      soup_websocket_connection_send_message() that receives a
      SoupWebsocketDataType and GBytes, which is consistent with
      SoupWebsocketConnection::message signal.
  6. 25 Jun, 2019 1 commit
    • Carlos Garcia Campos's avatar
      WebSockets: closed signal not emitted when io stream is SoupIOStream · fd794a95
      Carlos Garcia Campos authored
      That's the case of connections created by SoupSession. In that case, if
      the server hasn't closed its end of the connection, we fail to shutdown
      the client end, because shutdown_wr_io_stream() does nothing when the io
      stream is not a GSocketConnection. So, for SoupIOStream we need to get
      the base io stream which is a GSocketConnection.
  7. 19 Jun, 2019 2 commits
  8. 18 Jun, 2019 1 commit
  9. 17 Jun, 2019 4 commits
    • Claudio Saavedra's avatar
      2.67.2 · b8f9a004
      Claudio Saavedra authored
    • Carlos Garcia Campos's avatar
      WebSockets: fix runtime critical warning when handshake fails · 7939cfbf
      Carlos Garcia Campos authored
      (process:20018): GLib-GIO-CRITICAL **: 12:26:09.686: g_task_return_error: assertion 'G_IS_TASK (task)' failed
      (process:20018): GLib-GObject-CRITICAL **: 12:26:09.686: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
      We are trying to complete the GTask twice, first in
      websocket_connect_async_stop() and then in
      websocket_connect_async_complete(). The latter should only be called if
      the item finishes before got-informational signal is emitted.
    • Carlos Garcia Campos's avatar
      test-utils: ensure we always provide an absolute path to g_tls_file_database_new · 868910f5
      Carlos Garcia Campos authored
      This made tests fail when run from build dir due to runtime critical
      GLib-Net-WARNING **: 12:41:13.877: The anchor file name used with a GTlsFileDatabase must be an absolute path, and not relative: tests/test-cert.pem
    • Carlos Garcia Campos's avatar
      WebSockets: message never finishes when handshake fails · 4aa232cb
      Carlos Garcia Campos authored
      When soup_websocket_client_verify_handshake() returns TRUE, the
      message connection is stolen and soup_message_io_steal() is called for
      the message, making the message to move to FINISHING state. However,
      when it returns FALSE, the message stays in RUNNING state forever. We
      should call soup_message_io_finished() in that case to ensure the
      messages transitions to FINISHING state.
  10. 10 Jun, 2019 2 commits
    • Claudio Saavedra's avatar
      hsts-db: further fix for format string of stored policies · 7fc86f20
      Claudio Saavedra authored
      The age and expiration date should be unsigned long, not just
    • Claudio Saavedra's avatar
      hsts: accept the Strict-Transport-Security header regardless of casing · 16bb5805
      Claudio Saavedra authored
      For some reason a strcmp() was used where a case-insensitive search should
      be used. This was further hidden by the fact that SoupMessageHeaders interns
      the name of headers, so the first time a header is seen by the library will
      be the casing that is used, rendering the case-insensitivity test useless.
      Fix the string comparison and move the test for sensitivity to the top so that
      it runs first and the interned STS header name is the allcaps one that will
      allow the test to work.
  11. 06 Jun, 2019 1 commit
  12. 05 Jun, 2019 1 commit
    • Claudio Saavedra's avatar
      Add SoupHSTSEnforcer:hsts-enforced signal · afe18148
      Claudio Saavedra authored
      After working on the HSTS feature for WebKit it became obvious
      that relying on the SoupMessage::uri property changes is far from
      ideal. So let's add a signal that will be emitted whenever the
      enforcer does its thing wih a SoupMessage.
  13. 04 Jun, 2019 1 commit
    • Xavier Claessens's avatar
      Fix xml2 and sqlite fallbacks · 9ab923ac
      Xavier Claessens authored
      We should try find_library() before fallback to subproject, for
      platforms that does not ship the .pc file.
      Also the return value of cc.has_header() is currently not used, those
      statements have no effect. Fix this by using has_headers kwarg of
      find_library(), a new syntax from Meson 0.50.0. We want to find the
      library AND its headers, or fallback to subproject.
  14. 03 Jun, 2019 1 commit
  15. 28 May, 2019 1 commit
  16. 27 May, 2019 1 commit
  17. 24 May, 2019 1 commit
  18. 23 May, 2019 1 commit
  19. 22 May, 2019 16 commits