Files | Admin

Notes:

Release Name: 0.1.1

Notes:
kcar features an HTTP parser that will convert a bytestream into a
3-element array suitable for use as a Rack response.  It is IO interface
agnostic, so it may be used with HTTP streams over Unix domain sockets,
regular files, FIFOs, StringIOs as well as traditional TCP sockets.

* http://bogomips.org/kcar/
* kcar@librelist.com
* git://git.bogomips.org/kcar.git

Changes:

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.



Changes: GIT-VERSION-GEN | 2 +- GNUmakefile | 2 +- README | 11 ++++++++ ext/kcar/kcar.rl | 7 +++++ kcar.gemspec | 4 +- lib/kcar.rb | 4 +- lib/kcar/response.rb | 15 +++++++---- test/test_response.rb | 63 +++++++++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 96 insertions(+), 12 deletions(-) commit 2b264a464707e448275883ac198d7ead7eaeadb9 Author: Eric Wong 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 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 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 Date: Sat Jul 24 21:38:40 2010 +0000 response: fix unreferenced constant Oops :x commit 6224ff57ce2b95cd62ab01316dedcc106e6e4e6b Author: Eric Wong Date: Sat Jul 24 20:44:03 2010 +0000 update README with Rubinius support It has likely always worked. commit 856a8a7e061845d5db617cc407c92aabdb4679a0 Author: Eric Wong Date: Sun May 2 16:38:27 2010 -0700 document Kcar::Parser#chunked? method commit 7f1597ea01cac380393fb4d50e458204059beb24 Author: Eric Wong Date: Sun May 2 16:30:13 2010 -0700 update README with Gmane and mbox archive info commit 6b4bf45c0cab182462ed0c5c0d98fe11e1201b61 Author: Eric Wong 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!