Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 14, 2010
Commits on Sep 25, 2010
  1. Ilya Grigorik

    bump version to 0.2.13

    igrigorik authored
  2. Ilya Grigorik
  3. Ilya Grigorik

    fix connect proxy bug/specs

    igrigorik authored
  4. Ilya Grigorik

    socks5 example script

    igrigorik authored
  5. Ilya Grigorik
Commits on Sep 19, 2010
  1. Patrick Glandien

    implemented username/password authentication for socks5

    s1kx authored
    credentials can be supplied in the same way as for http-proxies with options[:proxy][:authorization]
Commits on Sep 18, 2010
  1. Patrick Glandien

    Implement Socks5 as specified on http://www.faqs.org/rfcs/rfc1928.html

    s1kx authored
    Specifying a socks proxy works by setting :type => :socks in options[:proxy]
  2. reverting socks code

    unknown authored
Commits on Sep 17, 2010
  1. Patrick Glandien

    SOCKS 5 support

    s1kx authored
Commits on Sep 12, 2010
  1. Ilya Grigorik

    bump version to 0.2.12

    igrigorik authored
Commits on Sep 9, 2010
  1. Tim Felgentreff
Commits on Sep 6, 2010
  1. Ilya Grigorik
  2. Ilya Grigorik
  3. Ilya Grigorik
Commits on Aug 29, 2010
  1. Edgar Gonzalez
  2. Edgar Gonzalez
Commits on Aug 21, 2010
  1. Ilya Grigorik

    fix changelog version

    igrigorik authored
  2. Ilya Grigorik

    fix cookie spec

    igrigorik authored
  3. Ilya Grigorik
Commits on Aug 16, 2010
  1. Ilya Grigorik

    add changelog

    igrigorik authored
  2. Ilya Grigorik

    bump version to 0.12.11

    igrigorik authored
  3. Joshua Hull Ilya Grigorik

    clean up specs.

    joshbuddy authored igrigorik committed
    Signed-off-by: Ilya Grigorik <ilya@igvita.com>
  4. Joshua Hull Ilya Grigorik

    added mocking via a callback

    joshbuddy authored igrigorik committed
    Signed-off-by: Ilya Grigorik <ilya@igvita.com>
  5. Joshua Hull Ilya Grigorik

    updated escape with latest rack code

    joshbuddy authored igrigorik committed
    Signed-off-by: Ilya Grigorik <ilya@igvita.com>
Commits on Aug 14, 2010
  1. Ilya Grigorik
  2. Ilya Grigorik
  3. Ilya Grigorik
Commits on Aug 7, 2010
  1. Ilya Grigorik
Commits on Jul 31, 2010
  1. Ilya Grigorik
  2. Lin Jen-Shin (godfat)

    multi.rb: Fixed bugs last two commits introduced. See:

    godfat authored
      I am terribly sorry, it seems that last two commits didn't work
      correctly. I should have tested it before committing...
    
      1. In the first commit, connections passed via .new didn't respect
         previous semantics. They didn't setup callback correctly,
         thus the callback block might never be called...
    
         To solve this, use add(*conns) instead of directly setup @requests.
    
      2. In the second commit, MultiRequest itself didn't pass to the
         callback... To solve this, simply pass self to succeed.
         It's ok that Ruby block would ignore the argument if the block
         didn't say it wanted. e.g.
    
           def f, &block
              block.call(true)
           end
    
           f{} # ok
  3. filterfish

    Conditional download fixes

    filterfish authored
Commits on Jul 30, 2010
  1. Lin Jen-Shin (godfat)

    multi.rb: Make MultiRequest.new takes a block and makes it the callback:

    godfat authored
      Maybe I am just too lazy, but this could make this:
    
        urls = %w[... ...]
        mul = EM::MultiRequest.new
        urls.each{ |url| mul.add(EM::HttpRequest.new(url).get) }
        mul.callback{ |conn|
          # blah blah
        }
    
      into this:
    
        urls = %w[... ...]
        EM::MultiRequest.new(urls.map{ |url| EM::HttpRequest.new(url).get }){ |c|
          # blah blah
        }
    
      That makes em-http-request a lot more functional (programming). :)
  2. Lin Jen-Shin (godfat)

    multi.rb: Make MultiRequest.new accepts a list of connections. See:

    godfat authored
      This way, I can have this:
    
        urls = %w[... ...]
        EM::MultiRequest.new(urls.map{ |url| EM::HttpRequest.new(url).get })
    
      instead of annoying multiple lines and extra variable:
    
        urls = %w[... ...]
        mul = EM::MultiRequest.new
        urls.each{ |url| mul.add(EM::HttpRequest.new(url).get) }
Commits on Jul 28, 2010
  1. Ilya Grigorik
Something went wrong with that request. Please try again.