Skip to content
  1. Jul 29, 2015
  2. Jul 28, 2015
  3. Jul 26, 2015
  4. Jul 25, 2015
  5. Jul 24, 2015
    • Michael Kaufmann's avatar
      HTTP: ignore "Content-Encoding: compress" · c5d060ca
      Michael Kaufmann authored
      Currently, libcurl rejects responses with "Content-Encoding: compress"
      when CURLOPT_ACCEPT_ENCODING is set to "". I think that libcurl should
      treat the Content-Encoding "compress" the same as other
      Content-Encodings that it does not support, e.g. "bzip2". That means
      just ignoring it.
      c5d060ca
  6. Jul 23, 2015
    • Marcel Raad's avatar
      openssl: work around MSVC warning · 98835eed
      Marcel Raad authored
      MSVC 12 complains:
      
      lib\vtls\openssl.c(1554): warning C4701: potentially uninitialized local
      variable 'verstr' used It's a false positive, but as it's normally not,
      I have enabled warning-as-error for that warning.
      98835eed
    • Michał Fita's avatar
      configure: add --disable-rt option · cee21eb6
      Michał Fita authored
      This option disables any attempts in configure to create dependency on
      stuff requiring linking to librt.so and libpthread.so, in this case this
      means clock_gettime(CLOCK_MONOTONIC, &mt).
      
      We were in need to build curl which doesn't link libpthread.so to avoid
      the following bug:
      https://sourceware.org/bugzilla/show_bug.cgi?id=16628.
      cee21eb6
    • Kamil Dudka's avatar
      http2: verify success of strchr() in http2_send() · da650c1e
      Kamil Dudka authored
      Detected by Coverity.
      
      Error: NULL_RETURNS:
      lib/http2.c:1301: returned_null: "strchr" returns null (checked 103 out of 109 times).
      lib/http2.c:1301: var_assigned: Assigning: "hdbuf" = null return value from "strchr".
      lib/http2.c:1302: dereference: Incrementing a pointer which might be null: "hdbuf".
      1300|
      1301|     hdbuf = strchr(hdbuf, 0x0a);
      1302|->   ++hdbuf;
      1303|
      1304|     authority_idx = 0;
      da650c1e
  7. Jul 22, 2015
  8. Jul 21, 2015
  9. Jul 20, 2015
  10. Jul 18, 2015
  11. Jul 17, 2015
  12. Jul 16, 2015
    • David Woodhouse's avatar
      ntlm_wb: Fix theoretical memory leak · 60b19630
      David Woodhouse authored
      Static analysis indicated that my commit 9008f3d5 ("ntlm_wb: Fix
      hard-coded limit on NTLM auth packet size") introduced a potential
      memory leak on an error path, because we forget to free the buffer
      before returning an error.
      
      Fix this.
      
      Although actually, it never happens in practice because we never *get*
      here with state == NTLMSTATE_TYPE1. The state is always zero. That
      might want cleaning up in a separate patch.
      
      Reported-by: Terri Oda
      60b19630
    • Jay Satiro's avatar
      de74e856
  13. Jul 14, 2015
    • Kamil Dudka's avatar
      libtest: call PR_Cleanup() on exit if NSPR is used · cd20e81e
      Kamil Dudka authored
      This prevents valgrind from reporting possibly lost memory that NSPR
      uses for file descriptor cache and other globally allocated internal
      data structures.
      
      Reported-by: Štefan Kremeň
      cd20e81e
    • John Malmberg's avatar
      openssl: VMS support for SHA256 · 79416fb2
      John Malmberg authored
      setup-vms.h: More symbols for SHA256, hacks for older VAX
      
      openssl.h: Use OpenSSL OPENSSL_NO_SHA256 macro to allow building on VAX.
      
      openssl.c: Use OpenSSL version checks and OPENSSL_NO_SHA256 macro to
      allow building on VAX and 64 bit VMS.
      79416fb2
  14. Jul 11, 2015
  15. Jul 07, 2015