1. 09 Apr, 2019 4 commits
  2. 04 Apr, 2019 1 commit
  3. 30 Mar, 2019 1 commit
    • Chun-wei Fan's avatar
      soup-auth-ntlm.c: Fix running on older Visual Studio CRT · 8a7174ce
      Chun-wei Fan authored
      This checks on Windows whether we have __USE_MINGW_ANSI_STDIO
      defined for MinGW builds or whether we are building with Visual Studio
      2015 or later, as sscanf(..., "%2hhx", ...) would either fail to build
      or will fail to run correctly if either of these conditions do not hold
      on Windows, as the stock Windows (pre-Visual Studio 2015) CRT does not
      support the 'hh' modifier, as it is C99.
      
      If the sscanf() implementation on Windows does not support the 'hh'
      modifier, use a workaround so that we obtain the correct values we need
      from sscanf().
      8a7174ce
  4. 19 Mar, 2019 1 commit
  5. 18 Mar, 2019 2 commits
    • LRN's avatar
      buildsystem: use MinGW ANSI STDIO when possible · 050f8e29
      LRN authored
      Fixes the following error:
      libsoup-2.66.0/libsoup/soup-auth-ntlm.c:815:23: error: unknown conversion type character 'h' in format [-Werror=format=]
       sscanf(hex_pos, "%2hhx", &hmac[count]);
                           ^
      050f8e29
    • Claudio Saavedra's avatar
      meson: cleanup targets dependencies · f426de73
      Claudio Saavedra authored
      This fixes issues when adding new symbols and building with
      introspection enabled. Additionally, the workaround for
      tests seems to be unneeded.
      f426de73
  6. 15 Mar, 2019 1 commit
  7. 12 Mar, 2019 2 commits
  8. 07 Mar, 2019 1 commit
  9. 05 Mar, 2019 1 commit
  10. 25 Feb, 2019 3 commits
  11. 24 Feb, 2019 1 commit
  12. 22 Feb, 2019 2 commits
    • Michael Catanzaro's avatar
      connection: Fix logic error in previous commit · 105f047b
      Michael Catanzaro authored
      When there is no error at all, that is unexpected and we should
      disconnect. I mishandled it in the previous commit and Dan merged !42
      before I fixed it.
      
      Related to: #134 and !42
      105f047b
    • Michael Catanzaro's avatar
      connection: Fix check for remote disconnection when in idle state · b609d44e
      Michael Catanzaro authored
      A change in glib-networking has surfaced a tricky mistake in
      soup_connection_get_state(). The goal of this code is to detect early if
      the server has closed our connection, but the check didn't account for
      the possibility that TLS-level data could be readable even if no
      HTTP-level data is readable. We need to actually try reading from the
      stream, rather than just checking if the socket is readable, since that
      way any TLS-level data will be handled by GTlsConnection. We should
      receive G_IO_ERROR_WOULD_BLOCK only if there is no HTTP-level data and
      the connection is still open; otherwise, treat it as disconnected.
      
      Many thanks to Dan Winship for explaining this confusing code after I
      found it was problematic, and for proposing this clever solution.
      
      Fixes #134
      b609d44e
  13. 20 Feb, 2019 1 commit
  14. 12 Feb, 2019 1 commit
  15. 05 Feb, 2019 1 commit
  16. 01 Feb, 2019 1 commit
  17. 21 Jan, 2019 1 commit
  18. 18 Jan, 2019 1 commit
    • Claudio Saavedra's avatar
      SoupSessionFeature: Keep features alive until all messages have been unqueued · cedfc390
      Claudio Saavedra authored
      Features can be removed at any point from a session, and if they are
      removed while there are messages in the queue, it is possible for
      callbacks connected to the message signals to be called after the feature
      has been disposed. Adding a reference in request_queue()
      and removing it in request_enqueue() ensures that the feature will not
      be disposed too early.
      
      Add a test case for the SoupCookieJar feature that reproduces this crash.
      
      Fixes #130
      cedfc390
  19. 17 Jan, 2019 1 commit
  20. 11 Jan, 2019 2 commits
  21. 03 Jan, 2019 1 commit
  22. 24 Dec, 2018 1 commit
  23. 17 Dec, 2018 8 commits
  24. 14 Dec, 2018 1 commit