1. 18 Feb, 2019 1 commit
    • Jay Satiro's avatar
      easy: fix win32 init to work without CURL_GLOBAL_WIN32 · f26bc29c
      Jay Satiro authored
      - Change the behavior of win32_init so that the required initialization
        procedures are not affected by CURL_GLOBAL_WIN32 flag.
      
      libcurl via curl_global_init supports initializing for win32 with an
      optional flag CURL_GLOBAL_WIN32, which if omitted was meant to stop
      Winsock initialization. It did so internally by skipping win32_init()
      when that flag was set. Since then win32_init() has been expanded to
      include required initialization routines that are separate from
      Winsock and therefore must be called in all cases. This commit fixes
      it so that CURL_GLOBAL_WIN32 only controls the optional win32
      initialization (which is Winsock initialization, according to our doc).
      
      The only users affected by this change are those that don't pass
      CURL_GLOBAL_WIN32 to curl_global_init. For them this commit removes the
      risk of a potential crash.
      
      Ref: https://github.com/curl/curl/pull/3573
      
      Fixes https://github.com/curl/curl/issues/3313
      Closes https://github.com/curl/curl/pull/3575
      f26bc29c
  2. 16 Feb, 2019 4 commits
  3. 15 Feb, 2019 4 commits
  4. 14 Feb, 2019 19 commits
  5. 13 Feb, 2019 6 commits
  6. 12 Feb, 2019 6 commits