about summary refs log tree commit homepage
DateCommit message (Collapse)
2011-06-07kcar 0.3.0 v0.3.0
* strip trailing and leading linear whitespace in headers * improve Ruby 1.9.3dev compatibility
2011-05-23README: use librelist.org address
Librelist is a non-profit service and .org makes that clearer.
2011-05-23call rb_str_modify before rb_str_resize
This is required since Ruby 1.9.3dev if the size of the string doesn't change.
2011-05-23strip 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.
2011-05-23pkg.mk: update for locale-independent grep
2011-03-17pkg.mk: new task for checking Ruby warnings
2011-03-17response: assume $, is default
Nobody sets it, so discourage new users from setting it since it's stupid :P.
2011-02-24kcar 0.2.0 - small improvements v0.2.0
Internal cleanups and micro-optimizations. We are fully-supported under Ruby 1.9.3dev and Rubinius 1.2.2
2011-02-24gemspec: no need for require_paths
Omitting those seems to work fine with RubyGems
2011-02-24pkg.mk: support RUBY_TEST_OPTS for tests
2011-02-07pkg.mk: fix this wrt document generation
And parallel builds.
2011-02-06kcar/response: a few more micro-optimizations
Whee!
2011-02-06remove support for older Rubinius C API
rb_str_update and rb_str_flush have been gone for ages, now.
2011-02-06parser.rb: do not redefine Kcar module
Prettier this way
2011-02-06pkg.mk: update with better dependencies
From mall.git
2011-02-06doc: limit scope
We're not an HTTP client and will likely never be.
2011-02-06parser: fixed signed vs unsigned warnings
Not that we'll ever deal with monster strings in HTTP headers...
2011-02-06kcar/response: micro-optimizations
This minimizes allocations made at runtime and uses ivars for faster access under 1.9
2011-02-06fix dependency for Ragel-generated file
Oops!
2011-02-02GNUmakefile: better doc build with Ragel
Whee!
2011-02-02pkg.mk: doc target depends on pkg_extra
pkg_extra should be appended-to, only
2011-02-02doc: ensure kcar.c exists for RDoc
Otherwise we become undocumented! :<
2011-02-02switch packaging to use pkg.mk + wrongdoc
It's easier on me, and we can drop JavaScript from our site!
2011-02-02test_response: fix unused variable warning in 1.9.3dev
1.9.3dev is stricter and that's awesome
2010-11-30kcar 0.1.2 - one bugfix for one liners v0.1.2
* 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.
2010-11-23header/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.
2010-11-22GNUmakefile: accept RSYNC variable overrides
It could be something else...
2010-07-25kcar 0.1.1 v0.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.
2010-07-25response: simplify trailers handling
Kcar::Parser#extract_trailers never returns a false/nil value, so there's no reason to check for it.
2010-07-25response: 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.
2010-07-25response: fix unreferenced constant
Oops :x
2010-07-24update README with Rubinius support
It has likely always worked.
2010-05-02document Kcar::Parser#chunked? method
2010-05-02update README with Gmane and mbox archive info
2010-04-28gemspec: 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!
2010-04-28add TODO v0.1.0
2010-04-28autoload Kcar::Response, document VERSION constant
Kcar::Response may not be useful for people that eventually use EventMachine or Rev.
2010-04-28kcar/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.
2010-04-28Update README with install and usage instructions
2010-04-28add 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
2010-04-28kcar/response: rdoc public methods
2010-04-28Documentation prep for release
2010-04-28rename Kcar::Session => Kcar::Response
It's not a real "session" since it does not have any facilities to write responses.
2010-04-28build + release infrastructure
2010-04-27parser: avoid shadowing "key" variable
2010-04-27kcar.rl: more comments explaining write_value;
This function can get intimidating to new users
2010-04-26ext: additional validations for valid HTTP responses
2010-04-26ext: better document keepalive behavior
2010-04-26ext: remove dead code from Parser#filter_body
We avoid filter_body overhead for things with known content-length.
2010-04-26initial