Skip to content
This repository

Mar 05, 2012

  1. Phillip Toland

    Version bump for 0.4.18

    authored
  2. Phillip Toland

    Tweak the way GET with body in handled

    authored

Feb 25, 2012

  1. Phillip Toland

    Merge pull request #55 from ddnexus/master

    Support for sending data with GET requests
    authored

Feb 21, 2012

  1. Domizio Demichelis

    added support for sending data with get request

    ddnexus authored

Jan 21, 2012

  1. Phillip Toland

    Version bump for 0.4.17

    authored

Nov 22, 2011

  1. Tim Pease

    Using the built-int URL encoding methods

    Instead of writing our own `urlencode` method, use the one provided by
    libcurl.
    TwP authored
  2. Tim Pease

    Adding an "interrupt" method

    The interrupt method can be used to halt the current request being processed
    by libcurl. The request cannot be recovered; it must be retried from the
    beginning.
    TwP authored
  3. Tim Pease

    Adding documentation

    Adding some RDoc style documentation to the C extension code. This
    documentaion can be parsed and used by RDoc when generating documentaiton for
    Patron.
    TwP authored
  4. Tim Pease

    Adding a "reset" method to the Session object.

    This reset method is a slight misnomer; however, I could not think of a better
    name. It will reset the underlying cURL handle - effectively closing all open
    connections. The debug output from the handle is also disabled by this method.
    TwP authored

Nov 21, 2011

  1. Phillip Toland

    The C extension now compiles without warnings

    authored
  2. Phillip Toland

    ANSIfy

    Yes C89 is fugly compared to C99 or C++ but this
    guarantees the widest possible compatibility with
    compilers.
    authored
  3. Phillip Toland

    index is unsigned thus always > 0

    authored
  4. Phillip Toland

    Update development dependencies

    authored
  5. Phillip Toland

    Don't delete *.h files when running 'rake clean'

    authored
  6. Phillip Toland

    Merge pull request #50 from TwP/test-server

    Autostart the test server
    authored
  7. Phillip Toland

    Merge pull request #48 from TwP/master

    Interrupt active requests when exiting the interpreter
    authored

Nov 18, 2011

  1. Tim Pease

    Support running the test server outside the rspec process

    TwP authored
  2. Tim Pease

    Do not automatically start the test server in Ruby 1.8.7

    TwP authored
  3. Tim Pease

    Allow manual startup of the test server

    Ruby 1.8.7 does not like running the test server inside a thread in the rspec
    process itself. It causes a deadlock. Adding the script/test_server again for
    those unfortunate ones still testing on 1.8.7
    TwP authored
  4. Tim Pease

    Automatically start the test server when specs are run

    TwP authored
  5. Tim Pease

    Support running the test server outside the rspec process

    TwP authored
  6. Tim Pease

    Do not automatically start the test server in Ruby 1.8.7

    TwP authored
  7. Tim Pease

    Allow manual startup of the test server

    Ruby 1.8.7 does not like running the test server inside a thread in the rspec
    process itself. It causes a deadlock. Adding the script/test_server again for
    those unfortunate ones still testing on 1.8.7
    TwP authored
  8. Tim Pease

    Automatically start the test server when specs are run

    TwP authored
  9. Tim Pease

    No need to open a file to test this fix

    TwP authored
  10. Tim Pease

    Do not close stderr

    When debug output is enabled in the session and going to stderr, calling the
    `enable_debug` method a second time will close the stderr file descriptor.
    This patch fixes the issue.
    TwP authored

Nov 15, 2011

  1. Tim Pease

    Allow active cURL sessions to gracefully exit when the ruby interpret…

    …er exists
    
    This patch registers an "at_exit" hook that will interrupt currently active
    cURL sessions so that the ruby interpreter can exit quickly. For example, when
    a user sends SIGINT to the ruby interpreter currently executing requests will
    be cancelled, and the ruby interpreter can exit more quickly.
    
    This addresses issue #14 [#14]
    TwP authored
  2. Tim Pease

    adding sglib header file

    TwP authored

Nov 14, 2011

  1. Phillip Toland

    Merge pull request #47 from TwP/master

    Enable support for Ruby 1.9 "thread blocking region"
    authored
  2. Phillip Toland

    Merge pull request #46 from Paxa/master

    It was falling when I tried to download image
    authored

Nov 12, 2011

  1. Tim Pease

    Enable use of the "thread blocking region" code

    This enables Curl requests to be made without blocking the entire Ruby
    interpreter. The global interpreter lock is released when our Curl request is
    made. It is reacquired when the request completes (regardless of success or
    errors).
    TwP authored
  2. Tim Pease

    Use the memory buffer for collecting header and body data

    The memory buffer is safe to use in "thread blocking regions". It does not
    call back into Ruby methods that are unsafe - that is, those to do not
    reacquire the global interpreter lock.
    
    This commit also sets the CURL_NOSIGNAL flag on the session. This prevents
    Curl from calling signal handlers when processing timeout code. Ruby captures
    signals, and hence, the Curl code could accidentally call bakc into the Ruby
    interpreter from within a "thread blocking region". This will cause
    segmentation faults and other oddities.
    TwP authored
  3. Tim Pease

    A simple memory buffer for collecting header and body data

    This is a simple memory buffer that can be used to collect the data returned
    by Curl for the header data and the body data. It only calls Ruby methods that
    are "thread blocking region" safe. That is, methods that automatically
    reacquire the global interpreter lock.
    TwP authored

Nov 11, 2011

  1. Pavel

    do not convert body encoding if it's not a text

    Paxa authored

Sep 07, 2011

  1. Phillip Toland

    Version bump for 0.4.16

    authored
Something went wrong with that request. Please try again.