├── .commit └── config.yml ├── .editorconfig ├── .github └── workflows │ ├── ci.yml │ └── commit-tools.yml ├── .gitignore ├── .standard.yml ├── Gemfile ├── README.md ├── benchmarks ├── ffi │ ├── Gemfile │ └── run.rb ├── mri │ ├── Gemfile │ └── run.rb └── shared.rb ├── ffi ├── .commit │ ├── config.yml │ └── data │ │ └── releases.yml ├── .rspec ├── CHANGELOG.md ├── Gemfile ├── LICENSE ├── README.md ├── Rakefile ├── ext │ ├── Rakefile │ └── llhttp │ │ ├── api.c │ │ ├── extconf.rb │ │ ├── http.c │ │ ├── llhttp.c │ │ ├── llhttp.h │ │ └── llhttp_ext.c ├── lib │ ├── llhttp.rb │ └── llhttp │ │ ├── delegate.rb │ │ ├── error.rb │ │ ├── parser.rb │ │ └── version.rb └── llhttp-ffi.gemspec ├── mri ├── .commit │ ├── config.yml │ └── data │ │ └── releases.yml ├── .rspec ├── CHANGELOG.md ├── Gemfile ├── LICENSE ├── README.md ├── Rakefile ├── ext │ └── llhttp │ │ ├── api.c │ │ ├── extconf.rb │ │ ├── http.c │ │ ├── llhttp.c │ │ ├── llhttp.h │ │ └── llhttp_ext.c ├── lib │ ├── llhttp.rb │ └── llhttp │ │ ├── delegate.rb │ │ ├── error.rb │ │ ├── parser.rb │ │ └── version.rb └── llhttp.gemspec └── spec ├── acceptance ├── server_spec.rb └── support │ └── server.rb ├── initialize.rb ├── initializers ├── configure.rb └── matchers.rb ├── integration ├── callback_errors_spec.rb ├── callbacks │ ├── body_spec.rb │ ├── chunk_complete_spec.rb │ ├── chunk_header_spec.rb │ ├── header_field_complete_spec.rb │ ├── header_field_spec.rb │ ├── header_value_complete_spec.rb │ ├── header_value_spec.rb │ ├── headers_complete_spec.rb │ ├── message_begin_spec.rb │ ├── message_complete_spec.rb │ ├── status_complete_spec.rb │ ├── status_spec.rb │ ├── url_complete_spec.rb │ └── url_spec.rb ├── introspection │ ├── content_length_spec.rb │ ├── http_major_spec.rb │ ├── http_minor_spec.rb │ ├── method_name_spec.rb │ └── status_code_spec.rb ├── no_content_length_spec.rb ├── parser_errors_spec.rb ├── reusing_spec.rb └── support │ └── context │ └── parsing.rb └── unit └── parser_spec.rb /.commit/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/.commit/config.yml -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/commit-tools.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/.github/workflows/commit-tools.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .commit/tools 2 | tmp 3 | *.bundle 4 | *.gem 5 | Gemfile.lock 6 | .ruby-version 7 | 8 | -------------------------------------------------------------------------------- /.standard.yml: -------------------------------------------------------------------------------- 1 | format: progress 2 | parallel: true 3 | 4 | 5 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/Gemfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/README.md -------------------------------------------------------------------------------- /benchmarks/ffi/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/benchmarks/ffi/Gemfile -------------------------------------------------------------------------------- /benchmarks/ffi/run.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/benchmarks/ffi/run.rb -------------------------------------------------------------------------------- /benchmarks/mri/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/benchmarks/mri/Gemfile -------------------------------------------------------------------------------- /benchmarks/mri/run.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/benchmarks/mri/run.rb -------------------------------------------------------------------------------- /benchmarks/shared.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/benchmarks/shared.rb -------------------------------------------------------------------------------- /ffi/.commit/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/ffi/.commit/config.yml -------------------------------------------------------------------------------- /ffi/.commit/data/releases.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/ffi/.commit/data/releases.yml -------------------------------------------------------------------------------- /ffi/.rspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/ffi/.rspec -------------------------------------------------------------------------------- /ffi/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/ffi/CHANGELOG.md -------------------------------------------------------------------------------- /ffi/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/ffi/Gemfile -------------------------------------------------------------------------------- /ffi/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/ffi/LICENSE -------------------------------------------------------------------------------- /ffi/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/ffi/README.md -------------------------------------------------------------------------------- /ffi/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/ffi/Rakefile -------------------------------------------------------------------------------- /ffi/ext/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/ffi/ext/Rakefile -------------------------------------------------------------------------------- /ffi/ext/llhttp/api.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/ffi/ext/llhttp/api.c -------------------------------------------------------------------------------- /ffi/ext/llhttp/extconf.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/ffi/ext/llhttp/extconf.rb -------------------------------------------------------------------------------- /ffi/ext/llhttp/http.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/ffi/ext/llhttp/http.c -------------------------------------------------------------------------------- /ffi/ext/llhttp/llhttp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/ffi/ext/llhttp/llhttp.c -------------------------------------------------------------------------------- /ffi/ext/llhttp/llhttp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/ffi/ext/llhttp/llhttp.h -------------------------------------------------------------------------------- /ffi/ext/llhttp/llhttp_ext.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/ffi/ext/llhttp/llhttp_ext.c -------------------------------------------------------------------------------- /ffi/lib/llhttp.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/ffi/lib/llhttp.rb -------------------------------------------------------------------------------- /ffi/lib/llhttp/delegate.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/ffi/lib/llhttp/delegate.rb -------------------------------------------------------------------------------- /ffi/lib/llhttp/error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/ffi/lib/llhttp/error.rb -------------------------------------------------------------------------------- /ffi/lib/llhttp/parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/ffi/lib/llhttp/parser.rb -------------------------------------------------------------------------------- /ffi/lib/llhttp/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/ffi/lib/llhttp/version.rb -------------------------------------------------------------------------------- /ffi/llhttp-ffi.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/ffi/llhttp-ffi.gemspec -------------------------------------------------------------------------------- /mri/.commit/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/mri/.commit/config.yml -------------------------------------------------------------------------------- /mri/.commit/data/releases.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/mri/.commit/data/releases.yml -------------------------------------------------------------------------------- /mri/.rspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/mri/.rspec -------------------------------------------------------------------------------- /mri/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/mri/CHANGELOG.md -------------------------------------------------------------------------------- /mri/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/mri/Gemfile -------------------------------------------------------------------------------- /mri/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/mri/LICENSE -------------------------------------------------------------------------------- /mri/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/mri/README.md -------------------------------------------------------------------------------- /mri/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/mri/Rakefile -------------------------------------------------------------------------------- /mri/ext/llhttp/api.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/mri/ext/llhttp/api.c -------------------------------------------------------------------------------- /mri/ext/llhttp/extconf.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/mri/ext/llhttp/extconf.rb -------------------------------------------------------------------------------- /mri/ext/llhttp/http.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/mri/ext/llhttp/http.c -------------------------------------------------------------------------------- /mri/ext/llhttp/llhttp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/mri/ext/llhttp/llhttp.c -------------------------------------------------------------------------------- /mri/ext/llhttp/llhttp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/mri/ext/llhttp/llhttp.h -------------------------------------------------------------------------------- /mri/ext/llhttp/llhttp_ext.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/mri/ext/llhttp/llhttp_ext.c -------------------------------------------------------------------------------- /mri/lib/llhttp.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/mri/lib/llhttp.rb -------------------------------------------------------------------------------- /mri/lib/llhttp/delegate.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/mri/lib/llhttp/delegate.rb -------------------------------------------------------------------------------- /mri/lib/llhttp/error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/mri/lib/llhttp/error.rb -------------------------------------------------------------------------------- /mri/lib/llhttp/parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/mri/lib/llhttp/parser.rb -------------------------------------------------------------------------------- /mri/lib/llhttp/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/mri/lib/llhttp/version.rb -------------------------------------------------------------------------------- /mri/llhttp.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/mri/llhttp.gemspec -------------------------------------------------------------------------------- /spec/acceptance/server_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/acceptance/server_spec.rb -------------------------------------------------------------------------------- /spec/acceptance/support/server.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/acceptance/support/server.rb -------------------------------------------------------------------------------- /spec/initialize.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/initialize.rb -------------------------------------------------------------------------------- /spec/initializers/configure.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/initializers/configure.rb -------------------------------------------------------------------------------- /spec/initializers/matchers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/initializers/matchers.rb -------------------------------------------------------------------------------- /spec/integration/callback_errors_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/callback_errors_spec.rb -------------------------------------------------------------------------------- /spec/integration/callbacks/body_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/callbacks/body_spec.rb -------------------------------------------------------------------------------- /spec/integration/callbacks/chunk_complete_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/callbacks/chunk_complete_spec.rb -------------------------------------------------------------------------------- /spec/integration/callbacks/chunk_header_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/callbacks/chunk_header_spec.rb -------------------------------------------------------------------------------- /spec/integration/callbacks/header_field_complete_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/callbacks/header_field_complete_spec.rb -------------------------------------------------------------------------------- /spec/integration/callbacks/header_field_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/callbacks/header_field_spec.rb -------------------------------------------------------------------------------- /spec/integration/callbacks/header_value_complete_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/callbacks/header_value_complete_spec.rb -------------------------------------------------------------------------------- /spec/integration/callbacks/header_value_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/callbacks/header_value_spec.rb -------------------------------------------------------------------------------- /spec/integration/callbacks/headers_complete_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/callbacks/headers_complete_spec.rb -------------------------------------------------------------------------------- /spec/integration/callbacks/message_begin_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/callbacks/message_begin_spec.rb -------------------------------------------------------------------------------- /spec/integration/callbacks/message_complete_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/callbacks/message_complete_spec.rb -------------------------------------------------------------------------------- /spec/integration/callbacks/status_complete_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/callbacks/status_complete_spec.rb -------------------------------------------------------------------------------- /spec/integration/callbacks/status_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/callbacks/status_spec.rb -------------------------------------------------------------------------------- /spec/integration/callbacks/url_complete_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/callbacks/url_complete_spec.rb -------------------------------------------------------------------------------- /spec/integration/callbacks/url_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/callbacks/url_spec.rb -------------------------------------------------------------------------------- /spec/integration/introspection/content_length_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/introspection/content_length_spec.rb -------------------------------------------------------------------------------- /spec/integration/introspection/http_major_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/introspection/http_major_spec.rb -------------------------------------------------------------------------------- /spec/integration/introspection/http_minor_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/introspection/http_minor_spec.rb -------------------------------------------------------------------------------- /spec/integration/introspection/method_name_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/introspection/method_name_spec.rb -------------------------------------------------------------------------------- /spec/integration/introspection/status_code_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/introspection/status_code_spec.rb -------------------------------------------------------------------------------- /spec/integration/no_content_length_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/no_content_length_spec.rb -------------------------------------------------------------------------------- /spec/integration/parser_errors_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/parser_errors_spec.rb -------------------------------------------------------------------------------- /spec/integration/reusing_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/reusing_spec.rb -------------------------------------------------------------------------------- /spec/integration/support/context/parsing.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/integration/support/context/parsing.rb -------------------------------------------------------------------------------- /spec/unit/parser_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryanp/llhttp/HEAD/spec/unit/parser_spec.rb --------------------------------------------------------------------------------