kcar RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* [PATCH 0/7] request parsing bits
@ 2017-04-19 22:30 Eric Wong
  2017-04-19 22:30 ` [PATCH 1/7] introduce new str_new_dd_freeze internal function Eric Wong
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Eric Wong @ 2017-04-19 22:30 UTC (permalink / raw)
  To: kcar-public

There can be more optimizations done(*), but I might push
out a prerelease in a bit and start running it on on real
code for a bit.

7 patches:
      introduce new str_new_dd_freeze internal function
      begin implementing request parsing
      favor bitfields instead flags + macros
      implement request parsing with tests
      pkg.mk: enable warnings by default for tests
      filter_body: rename variables to be like memcpy(3)
      flesh out filter_body for request parsing

 ext/kcar/kcar.rl             |  583 +++++++++++++++++---
 ext/kcar/kcar_http_common.rl |   36 +-
 pkg.mk                       |    2 +-
 test/test_parser.rb          |    1 +
 test/test_request_parser.rb  | 1219 ++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 1748 insertions(+), 93 deletions(-)


(*) and they'll be ported to that other-parser-that-shall-not-be-named

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-04-27 18:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-19 22:30 [PATCH 0/7] request parsing bits Eric Wong
2017-04-19 22:30 ` [PATCH 1/7] introduce new str_new_dd_freeze internal function Eric Wong
2017-04-19 22:30 ` [PATCH 2/7] begin implementing request parsing Eric Wong
2017-04-27 18:00   ` Eric Wong
2017-04-19 22:30 ` [PATCH 3/7] favor bitfields instead flags + macros Eric Wong
2017-04-19 22:30 ` [PATCH 4/7] implement request parsing with tests Eric Wong
2017-04-19 22:30 ` [PATCH 5/7] pkg.mk: enable warnings by default for tests Eric Wong
2017-04-19 22:30 ` [PATCH 6/7] filter_body: rename variables to be like memcpy(3) Eric Wong
2017-04-19 22:30 ` [PATCH 7/7] flesh out filter_body for request parsing Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/kcar.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).