ChangeLog from bogomips.org/kcar.git

commit cba0da81fba19aab000858aaf98b1f5383be07c9
Author: Eric Wong <normalperson@yhbt.net>
Date:   Fri Oct 26 09:48:34 2012 +0000

    kcar 0.4.0 - Kcar::Response improvement

    * add Kcar::Parser#body_bytes_left= setter method

      This allows us to properly get body_eof? to return true
      in Kcar::Response for unchunked responses.

commit 0f2c6224e58fdb129d2bfd320f3ccfe7131daa39
Author: Eric Wong <normalperson@yhbt.net>
Date:   Fri Oct 26 09:46:21 2012 +0000

    test_response: fix redefined method

    Oops :x

commit b583fe84c3e2174f143d2412b0b93eeb18e5aeb8
Author: Eric Wong <normalperson@yhbt.net>
Date:   Fri Oct 26 09:24:46 2012 +0000

    add Kcar::Parser#body_bytes_left= setter method

    This allows us to properly get body_eof? to return true
    in Kcar::Response for unchunked responses.

commit 7a51fde712fdbf40db080c30f91caf59a9dd9d7a
Author: Eric Wong <normalperson@yhbt.net>
Date:   Wed Sep 26 02:41:58 2012 +0000

    kcar 0.3.1 - Kcar::Response minor bugfix

    One bugfix for the optional Kcar::Response module:

    * propagate EOFError on remote errors

      When proxying remote requests, EOFError may get incorrectly
      discarded when a the remote server sets the Content-Length:
      header _and_ Connection:close to disconnect the connection.

      We will now raise errors correctly when Connection:close
      is give but we have not yet read the expected Content-Length.

commit a942f4f35af6d2764f05c3f76186b383142f7d3b
Author: Eric Wong <normalperson@yhbt.net>
Date:   Tue Sep 25 18:04:37 2012 -0700

    response: propagate EOFError on remote errors

    When proxying remote requests, EOFError may get incorrectly
    discarded when a the remote server sets the Content-Length:
    header _and_ Connection:close to disconnect the connection.

    We will now raise errors correctly when Connection:close
    is give but we have not yet read the expected Content-Length.

commit 051bbf04a932833e0a5f2857005885ac163a353e
Author: Eric Wong <normalperson@yhbt.net>
Date:   Tue Jun 7 10:28:52 2011 -0700

    kcar 0.3.0

    * strip trailing and leading linear whitespace in headers
    * improve Ruby 1.9.3dev compatibility

commit e7e9ad74caa88a49f09c242d65627246be54dc86
Author: Eric Wong <normalperson@yhbt.net>
Date:   Mon May 23 17:22:52 2011 -0700

    README: use librelist.org address

    Librelist is a non-profit service and .org makes that clearer.

commit d6ff34a9673b78545c6311c8ea59e5ad5ddd7a1f
Author: Eric Wong <normalperson@yhbt.net>
Date:   Mon May 23 17:12:48 2011 -0700

    call rb_str_modify before rb_str_resize

    This is required since Ruby 1.9.3dev if the size of the
    string doesn't change.

commit c73e5023a056e28543869722203d9f62d75e3949
Author: Eric Wong <normalperson@yhbt.net>
Date:   Mon May 23 17:11:29 2011 -0700

    strip trailing and leading linear whitespace in headers

    RFC 2616, section 4.2:
    > The field-content does not include any leading or trailing LWS:
    > linear white space occurring before the first non-whitespace
    > character of the field-value or after the last non-whitespace
    > character of the field-value. Such leading or trailing LWS MAY be
    > removed without changing the semantics of the field value. Any LWS
    > that occurs between field-content MAY be replaced with a single SP
    > before interpreting the field value or forwarding the message
    > downstream.

commit 71bb4732573c45b91b88922df3e13160af6f65c6
Author: Eric Wong <normalperson@yhbt.net>
Date:   Mon May 23 14:22:51 2011 -0700

    pkg.mk: update for locale-independent grep

commit 2bedfbb15638564432521ebe81c48ce8fded2c3d
Author: Eric Wong <normalperson@yhbt.net>
Date:   Thu Mar 17 21:19:54 2011 +0000

    pkg.mk: new task for checking Ruby warnings

commit fd12391c2858bb847031de85ce16ff35b0b48c64
Author: Eric Wong <normalperson@yhbt.net>
Date:   Thu Mar 17 14:10:13 2011 -0700

    response: assume $, is default

    Nobody sets it, so discourage new users from setting it since
    it's stupid :P.

commit d92f8ceeb5ea8b5610d7125f8b656231b44fd3ed
Author: Eric Wong <normalperson@yhbt.net>
Date:   Thu Feb 24 13:28:28 2011 -0800

    kcar 0.2.0 - small improvements

    Internal cleanups and micro-optimizations.  We are fully-supported
    under Ruby 1.9.3dev and Rubinius 1.2.2

commit ee95d5f2585e8e110f8533681e9400b238104406
Author: Eric Wong <normalperson@yhbt.net>
Date:   Thu Feb 24 19:59:50 2011 +0000

    gemspec: no need for require_paths

    Omitting those seems to work fine with RubyGems

commit 14ae430b99244d7b20ae3bb33822f9d98a3a5c8a
Author: Eric Wong <normalperson@yhbt.net>
Date:   Thu Feb 24 19:57:53 2011 +0000

    pkg.mk: support RUBY_TEST_OPTS for tests

commit d25104b59e0cb327f877266b7821c1727d3e0037
Author: Eric Wong <normalperson@yhbt.net>
Date:   Mon Feb 7 12:58:11 2011 -0800

    pkg.mk: fix this wrt document generation

    And parallel builds.

commit 6494d965735fc9eeaffa1c92e30ac0f106bf0df1
Author: Eric Wong <normalperson@yhbt.net>
Date:   Sun Feb 6 11:08:10 2011 +0000

    kcar/response: a few more micro-optimizations

    Whee!

commit 8215605dd182c15f70448035a8f75833351b211b
Author: Eric Wong <normalperson@yhbt.net>
Date:   Sun Feb 6 11:01:25 2011 +0000

    remove support for older Rubinius C API

    rb_str_update and rb_str_flush have been gone for
    ages, now.

commit 677556d96e2713894c863ec271aa9ccb6b704e1f
Author: Eric Wong <normalperson@yhbt.net>
Date:   Sun Feb 6 10:57:56 2011 +0000

    parser.rb: do not redefine Kcar module

    Prettier this way

commit cc0d170971fb93c2c35e7b37e3bade8350e3423a
Author: Eric Wong <normalperson@yhbt.net>
Date:   Sun Feb 6 10:54:09 2011 +0000

    pkg.mk: update with better dependencies

    From mall.git

commit d0b41571897a809dafb8bc9b11248078ce458723
Author: Eric Wong <normalperson@yhbt.net>
Date:   Sun Feb 6 10:52:31 2011 +0000

    doc: limit scope

    We're not an HTTP client and will likely never be.

commit 925cf20495f5b8286672c6533350485f96a4dbb9
Author: Eric Wong <normalperson@yhbt.net>
Date:   Sun Feb 6 10:50:47 2011 +0000

    parser: fixed signed vs unsigned warnings

    Not that we'll ever deal with monster strings in
    HTTP headers...

commit d88a3f93dce4b75068c3137d8dd92009195d0576
Author: Eric Wong <normalperson@yhbt.net>
Date:   Sun Feb 6 10:25:22 2011 +0000

    kcar/response: micro-optimizations

    This minimizes allocations made at runtime and uses
    ivars for faster access under 1.9

commit b702c53ad61c7eafef39de60d2afb9d3e856f1fa
Author: Eric Wong <normalperson@yhbt.net>
Date:   Sun Feb 6 10:21:30 2011 +0000

    fix dependency for Ragel-generated file

    Oops!

commit 43d0053f29c2080c0499acf39712add72c06fb2c
Author: Eric Wong <normalperson@yhbt.net>
Date:   Wed Feb 2 18:51:06 2011 -0800

    GNUmakefile: better doc build with Ragel

    Whee!

commit 4eadae5934db4776149bbcdbd7eba377ddcda124
Author: Eric Wong <normalperson@yhbt.net>
Date:   Wed Feb 2 18:49:22 2011 -0800

    pkg.mk: doc target depends on pkg_extra

    pkg_extra should be appended-to, only

commit e2b5e781c3dee2f580a81e922af2928f0140fe75
Author: Eric Wong <normalperson@yhbt.net>
Date:   Wed Feb 2 18:41:23 2011 -0800

    doc: ensure kcar.c exists for RDoc

    Otherwise we become undocumented! :<

commit 0592c5201798b56859fa359887f61c59622a54dd
Author: Eric Wong <normalperson@yhbt.net>
Date:   Wed Feb 2 18:37:59 2011 -0800

    switch packaging to use pkg.mk + wrongdoc

    It's easier on me, and we can drop JavaScript from our site!

commit 8b999a96c8f0edb4bfd7291c12e2725493a7c0df
Author: Eric Wong <normalperson@yhbt.net>
Date:   Wed Feb 2 18:29:49 2011 -0800

    test_response: fix unused variable warning in 1.9.3dev

    1.9.3dev is stricter and that's awesome

commit 9d0816ecf953a5a7a8b9c03714753603928c5577
Author: Eric Wong <normalperson@yhbt.net>
Date:   Tue Nov 30 14:16:32 2010 -0800

    kcar 0.1.2 - one bugfix for one liners

    * header/body-less pipelined HTTP/1.1 responses handled properly
      Some HTTP servers do not send any response headers
      for errors, only the HTTP status line.

commit 13ccab804e69a7f81358b73279d92049fc8136b4
Author: Eric Wong <normalperson@yhbt.net>
Date:   Tue Nov 23 16:10:24 2010 -0800

    header/body-less pipelined HTTP/1.1 responses handled properly

    Some HTTP servers do not send any response headers
    for errors, only the HTTP status line.

commit 25cb9a13abe0bd3eae0bae4617e6247d655a5345
Author: Eric Wong <normalperson@yhbt.net>
Date:   Mon Nov 22 14:06:26 2010 -0800

    GNUmakefile: accept RSYNC variable overrides

    It could be something else...

commit 2b264a464707e448275883ac198d7ead7eaeadb9
Author: Eric Wong <normalperson@yhbt.net>
Date:   Sat Jul 24 23:51:48 2010 +0000

    kcar 0.1.1

    Our handling of pipelined identity (not chunked) responses
    did not properly reset our internal buffer, causing HTTP
    header parsing to fail for the second response as the buffer
    still contained the last part of the body from the previous
    response.

    There are also minor documentation updates and cleanups.

commit 558513bdeaac2bd1feb9df46c3ba09616b1be2bf
Author: Eric Wong <normalperson@yhbt.net>
Date:   Sat Jul 24 23:43:08 2010 +0000

    response: simplify trailers handling

    Kcar::Parser#extract_trailers never returns a false/nil
    value, so there's no reason to check for it.

commit 62621af7c8724f5cc5cc3a6dfcd47eb6654286a5
Author: Eric Wong <normalperson@yhbt.net>
Date:   Sat Jul 24 23:18:14 2010 +0000

    response: fix handling of pipelined identity responses

    When parsing a stream of multiple responses (when HTTP
    pipelining is enabled), we did not properly reset our
    internal buffer, causing failures when parsing the
    second response.

commit 35e3ad8134c39902b502e20d88246be2751767e1
Author: Eric Wong <normalperson@yhbt.net>
Date:   Sat Jul 24 21:38:40 2010 +0000

    response: fix unreferenced constant

    Oops :x

commit 6224ff57ce2b95cd62ab01316dedcc106e6e4e6b
Author: Eric Wong <normalperson@yhbt.net>
Date:   Sat Jul 24 20:44:03 2010 +0000

    update README with Rubinius support

    It has likely always worked.

commit 856a8a7e061845d5db617cc407c92aabdb4679a0
Author: Eric Wong <normalperson@yhbt.net>
Date:   Sun May 2 16:38:27 2010 -0700

    document Kcar::Parser#chunked? method

commit 7f1597ea01cac380393fb4d50e458204059beb24
Author: Eric Wong <normalperson@yhbt.net>
Date:   Sun May 2 16:30:13 2010 -0700

    update README with Gmane and mbox archive info

commit 6b4bf45c0cab182462ed0c5c0d98fe11e1201b61
Author: Eric Wong <normalperson@yhbt.net>
Date:   Wed Apr 28 22:26:45 2010 +0000

    gemspec: fix authors and homepage info

    Oops, URLs should end with a trailing slash since I'm expecting
    my webserver to load index.html.  Also, it's "kcar hackers",
    kcar did not write itself!

commit aca587b1bcf544b0fbaf031edc476e1b155e0263
Author: Eric Wong <normalperson@yhbt.net>
Date:   Wed Apr 28 15:14:36 2010 -0700

    add TODO

commit ee89a72720c8c035eebf2389e09dd28c788551d8
Author: Eric Wong <normalperson@yhbt.net>
Date:   Wed Apr 28 15:12:19 2010 -0700

    autoload Kcar::Response, document VERSION constant

    Kcar::Response may not be useful for people that eventually use
    EventMachine or Rev.

commit 8ddf88d1e9917baabc6c485546d1806c3a81cd0e
Author: Eric Wong <normalperson@yhbt.net>
Date:   Wed Apr 28 15:10:38 2010 -0700

    kcar/parser: magic comments for binary encoding

    Any regexps or temporary strings should be created with binary
    encoding as that's how HTTP processing is done.

commit 1fdfb4a68591337be2a88dfb4021da6232361825
Author: Eric Wong <normalperson@yhbt.net>
Date:   Wed Apr 28 15:08:05 2010 -0700

    Update README with install and usage instructions

commit 9d880bb373793f42c29cd77890663d62a1b9c578
Author: Eric Wong <normalperson@yhbt.net>
Date:   Wed Apr 28 14:33:27 2010 -0700

    add Kcar::Response#rack to give proper Rack responses

    We can't unchunk bodies and still say
    "Transfer-Encoding: chunked", nor can we say we have Trailers
    without chunked encoding.  So we'll unconditionally disable
    unchunking and pass the response through as-is

commit 2a3a8ac8e64f5f02f87de268c9b2615437d16a96
Author: Eric Wong <normalperson@yhbt.net>
Date:   Wed Apr 28 13:09:51 2010 -0700

    kcar/response: rdoc public methods

commit b75e162e0b9b605a9b3033c3dbc616afcb08b4ad
Author: Eric Wong <normalperson@yhbt.net>
Date:   Wed Apr 28 12:58:29 2010 -0700

    Documentation prep for release

commit b85f1528667b3aaa699b37dcc362901e1e573b04
Author: Eric Wong <normalperson@yhbt.net>
Date:   Wed Apr 28 12:48:18 2010 -0700

    rename Kcar::Session => Kcar::Response

    It's not a real "session" since it does not have any facilities
    to write responses.

commit dd84d98bce03e3da529c4b51d2eba761dda749e8
Author: Eric Wong <normalperson@yhbt.net>
Date:   Wed Apr 28 12:42:48 2010 -0700

    build + release infrastructure

commit e32c35bac78a7e7d8d711d360c143c9ebc64eed2
Author: Eric Wong <normalperson@yhbt.net>
Date:   Tue Apr 27 11:39:06 2010 -0700

    parser: avoid shadowing "key" variable

commit 8bcf07ce90a9813e3859dce97b4a3a07b43c9cea
Author: Eric Wong <normalperson@yhbt.net>
Date:   Tue Apr 27 11:33:32 2010 -0700

    kcar.rl: more comments explaining write_value;

    This function can get intimidating to new users

commit 356435e60da0ffc92b4c7a9eb801255f094b4610
Author: Eric Wong <normalperson@yhbt.net>
Date:   Mon Apr 26 19:18:10 2010 -0700

    ext: additional validations for valid HTTP responses

commit 31bd370baef622aaa5dd14084f27baf2fabf506c
Author: Eric Wong <normalperson@yhbt.net>
Date:   Mon Apr 26 19:09:26 2010 -0700

    ext: better document keepalive behavior

commit 6066e9f608460adf46b215a9b6e5f351a87ba4b0
Author: Eric Wong <normalperson@yhbt.net>
Date:   Mon Apr 26 19:02:41 2010 -0700

    ext: remove dead code from Parser#filter_body

    We avoid filter_body overhead for things with known
    content-length.

commit f071a6f936ba0b22610b1f7ce68e414403f29996
Author: Eric Wong <normalperson@yhbt.net>
Date:   Mon Apr 26 18:29:21 2010 -0700

    initial

Originally generated with the Darkfish Rdoc Generator 2, modified by wrongdoc.