Skip to content
  1. Mar 15, 2013
    • Yang Tse's avatar
      tests: add #96 #558 and #1330 · 1700668d
      Yang Tse authored
      These verfy that the 'memory tracking' subsystem is actually doing its
      job when using curl tool (#96), a test in libtest (#558) and also a unit
      test (#1330), in order to prevent regressions in this functionallity.
      1700668d
    • Steve Holme's avatar
      a8f93d4e
    • Daniel Stenberg's avatar
      HTTP proxy: insert slash in URL if missing · e4b733e3
      Daniel Stenberg authored
      curl has been accepting URLs using slightly wrong syntax for a long
      time, such as when completely missing as slash "http://example.org" or
      missing a slash when a query part is given
      "http://example.org?q=foobar".
      
      curl would translate these into a legitimate HTTP request to servers,
      although as was shown in bug #1206 it was not adjusted properly in the
      cases where a HTTP proxy was used.
      
      Test 1213 and 1214 were added to the test suite to verify this fix.
      
      The test HTTP server was adjusted to allow us to specify test number in
      the host name only without using any slashes in a given URL.
      
      Bug: http://curl.haxx.se/bug/view.cgi?id=1206
      Reported by: ScottJi
      e4b733e3
  2. Mar 14, 2013
  3. Mar 13, 2013
    • Linus Nielsen's avatar
      Multiple pipelines and limiting the number of connections. · 0f147887
      Linus Nielsen authored
      Introducing a number of options to the multi interface that
      allows for multiple pipelines to the same host, in order to
      optimize the balance between the penalty for opening new
      connections and the potential pipelining latency.
      
      Two new options for limiting the number of connections:
      
      CURLMOPT_MAX_HOST_CONNECTIONS - Limits the number of running connections
      to the same host. When adding a handle that exceeds this limit,
      that handle will be put in a pending state until another handle is
      finished, so we can reuse the connection.
      
      CURLMOPT_MAX_TOTAL_CONNECTIONS - Limits the number of connections in total.
      When adding a handle that exceeds this limit,
      that handle will be put in a pending state until another handle is
      finished. The free connection will then be reused, if possible, or
      closed if the pending handle can't reuse it.
      
      Several new options for pipelining:
      
      CURLMOPT_MAX_PIPELINE_LENGTH - Limits the pipeling length. If a
      pipeline is "full" when a connection is to be reused, a new connection
      will be opened if the CURLMOPT_MAX_xxx_CONNECTIONS limits allow it.
      If not, the handle will be put in a pending state until a connection is
      ready (either free or a pipe got shorter).
      
      CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE - A pipelined connection will not
      be reused if it is currently processing a transfer with a content
      length that is larger than this.
      
      CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE - A pipelined connection will not
      be reused if it is currently processing a chunk larger than this.
      
      CURLMOPT_PIPELINING_SITE_BL - A blacklist of hosts that don't allow
      pipelining.
      
      CURLMOPT_PIPELINING_SERVER_BL - A blacklist of server types that don't allow
      pipelining.
      
      See the curl_multi_setopt() man page for details.
      0f147887
    • Yang Tse's avatar
      tool_main.c: remove redundant vms_show storage-class specifier · 911b2d3f
      Yang Tse authored
      vms_show 'extern' storage-class specifier removed from tool_main.c due to...
      
      - Advice from Tor Arntsen: http://curl.haxx.se/mail/lib-2013-03/0164.html
      
      - HP OpenVMS docs stating that 'Extern is the default storage class for
        variables declared outside a function.'
        http://h71000.www7.hp.com/commercial/c/docs/dec_c_help_5.html
        (Storage_Classes section)
      911b2d3f
    • Yang Tse's avatar
    • Steve Holme's avatar
      pop3: Removed unnecessary transfer cancellation · ac890cd5
      Steve Holme authored
      Following commit e450f66a and the changes in the multi interface
      being used internally, from 7.29.0, the transfer cancellation in
      pop3_dophase_done() is no longer required.
      ac890cd5
    • Yang Tse's avatar
      308dc625
    • Tom Grace's avatar
      build_vms.com: VMS build fixes · 8ae9ee0c
      Tom Grace authored
      Added missing slash in cc_full_list.
      Removed unwanted extra quotes inside symbol tool_main
      for non-VAX architectures that triggered link failure.
      Replaced curl_sys_inc with sys_inc.
      8ae9ee0c
    • Tom Grace's avatar
      tool_main.c: fix VMS global variable storage-class specifier · 17c088fb
      Tom Grace authored
      An extern submits a psect and a global reference to the linker to point
      to it. Using "extern int vms_show = 0" also creates a globaldef.
      
      The use of the extern by itself does declare a psect but does not declare
      a globalsymbol. It does declare a globalref. But the linker needs one and
      only one globaldef or there is an error.
      17c088fb
  4. Mar 12, 2013
  5. Mar 11, 2013
  6. Mar 10, 2013