Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace http-parser with llhttp #126

Merged
merged 10 commits into from
Jan 25, 2022

Conversation

muneebahmed10
Copy link
Contributor

@muneebahmed10 muneebahmed10 commented Jan 14, 2022

Description:
Replaces http-parser with llhttp. Unit tests are at 100% coverage, however, they mock out the parser and assume its outputs. End-to-end tests that do not use a mocked parser have not yet been added to coreHTTP. Using llhttp requires C99, so this library will need to use C99 at minimum as well. CBMC checks will fail as those have not been updated

@muneebahmed10 muneebahmed10 force-pushed the replace-parser branch 2 times, most recently from 13427ea to 005adcc Compare January 21, 2022 12:02
@muneebahmed10 muneebahmed10 merged commit 3902274 into FreeRTOS:dev Jan 25, 2022
aggarg added a commit that referenced this pull request Apr 7, 2022
* Replace http-parser with llhttp (#126)

* Add llhttp submodule

* Replace http-parser with llhttp in source

* Fix CI checks

* Fix unit tests 100% coverage

* Rename functions

* Disable strict mode

* Remove http-parser submodule

* Update CBMC proofs for llhttp (#127)

* Update CBMC proofs

* Update execute mocks

* Rename stub file

* Return error fields from stubs

* Remove unused variable (#128)

* Remove unused variable

* Void unused status code

* Address review comments

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

Co-authored-by: Muneeb Ahmed <54290492+muneebahmed10@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants