Skip to content

Commit

Permalink
Strict transfer encoding 2.1 (#162)
Browse files Browse the repository at this point in the history
* http: stricter Transfer-Encoding and header separator parsing

* update deps

Signed-off-by: Matteo Collina <hello@matteocollina.com>

* chore: fix Windows CI (#149)

Update scoop installation.

* ci: fix windows builds

Co-authored-by: Paolo Insogna <paolo@cowtech.it>
Co-authored-by: Rich Trott <rtrott@gmail.com>
Co-authored-by: Fedor Indutny <fedor@indutny.com>
  • Loading branch information
4 people committed Jul 6, 2022
1 parent d6ea943 commit cc6b967
Show file tree
Hide file tree
Showing 10 changed files with 385 additions and 168 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci.yaml
Expand Up @@ -19,11 +19,12 @@ jobs:
- name: Install clang for Windows
if: runner.os == 'Windows'
run: |
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
iwr -useb get.scoop.sh -outfile 'install.ps1'
.\install.ps1 -RunAsAdmin
scoop install llvm --global
# Scoop modifies the PATH so we make the modified PATH global.
echo "::set-env name=PATH::$env:PATH"
echo $env:PATH >> $env:GITHUB_PATH
- name: Fetch code
uses: actions/checkout@v2
Expand All @@ -45,7 +46,8 @@ jobs:

- name: Build libllhttp.a
shell: bash
run: make build/libllhttp.a
run: |
make build/libllhttp.a
test:
name: Run tests
Expand All @@ -60,11 +62,12 @@ jobs:
- name: Install clang for Windows
if: runner.os == 'Windows'
run: |
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
iwr -useb get.scoop.sh -outfile 'install.ps1'
.\install.ps1 -RunAsAdmin
scoop install llvm --global
# Scoop modifies the PATH so we make the modified PATH global.
echo "::set-env name=PATH::$env:PATH"
echo $env:PATH >> $env:GITHUB_PATH
- name: Fetch code
uses: actions/checkout@v2
Expand Down
176 changes: 89 additions & 87 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -37,18 +37,18 @@
"homepage": "https://github.com/nodejs/llhttp#readme",
"devDependencies": {
"@types/mocha": "^5.2.7",
"@types/node": "^10.17.27",
"@types/node": "^10.17.60",
"llparse-dot": "^1.0.1",
"llparse-test-fixture": "^5.0.1",
"llparse-test-fixture": "^5.0.2",
"mdgator": "^1.1.2",
"mocha": "^7.2.0",
"ts-node": "^7.0.1",
"tslint": "^5.20.1",
"typescript": "^3.9.6"
"typescript": "^3.9.10"
},
"dependencies": {
"@types/semver": "^5.5.0",
"llparse": "^7.0.0",
"llparse": "^7.1.1",
"semver": "^5.7.1"
}
}

0 comments on commit cc6b967

Please sign in to comment.