Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 45fe5f3

Browse files
committedJul 1, 2019
Replace internal hpack library
1 parent 556a539 commit 45fe5f3

23 files changed

+52
-2572
lines changed
 

‎.gitmodules

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
[submodule "hpack/test/hpack-test-case"]
2-
path = hpack/test/hpack-test-case
3-
url = git@github.com:http2jp/hpack-test-case.git
41
[submodule "lib_test/http2-frame-test-case"]
52
path = lib_test/http2-frame-test-case
63
url = git@github.com:http2jp/http2-frame-test-case.git

‎esy.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"@opam/bigstringaf": "*",
1313
"@opam/angstrom": "*",
1414
"@opam/faraday": "*",
15+
"@opam/hpack": "*",
1516
"@opam/psq": "*",
1617
"@opam/mirage-conduit": "*",
1718
"@opam/faraday-lwt-unix": "*",
@@ -32,7 +33,7 @@
3233
},
3334
"resolutions": {
3435
"@opam/conf-libev": "esy-packages/libev:package.json#86d244e",
35-
"@opam/conf-autoconf": "esy-packages/esy-autoconf:package.json#71a8836",
36+
"@opam/conf-autoconf": "esy-packages/esy-autoconf:package.json#94f846f",
3637
"@opam/conf-openssl": {
3738
"source": "no-source:",
3839
"override": {
@@ -90,6 +91,7 @@
9091
},
9192
"@opam/tls": "dune-universe/ocaml-tls:tls.opam#9761033",
9293
"@opam/tls-lwt": "dune-universe/ocaml-tls:tls-lwt.opam#9761033",
93-
"@opam/tls-mirage": "dune-universe/ocaml-tls:tls-mirage.opam#9761033"
94+
"@opam/tls-mirage": "dune-universe/ocaml-tls:tls-mirage.opam#9761033",
95+
"@opam/hpack": "314eter/ocaml-hpack:hpack.opam#9be540d"
9496
}
9597
}

‎esy.lock/index.json

+48-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"checksum": "da7de81cbb5f04a618cfba9b02a5f8ba",
2+
"checksum": "d94d1aa0d5c034ac7ed698ec9087c1c2",
33
"root": "h2@link-dev:./esy.json",
44
"node": {
55
"yarn-pkg-config@github:esy-ocaml/yarn-pkg-config#cca65f99674ed2d954d28788edeb8c57fada5ed0@d41d8cd9": {
@@ -47,6 +47,7 @@
4747
"@opam/lwt_ssl@opam:1.1.2@ac833920", "@opam/lwt@opam:4.2.1@c1888ec9",
4848
"@opam/httpaf-lwt-unix@github:anmonteiro/httpaf:httpaf-lwt-unix.opam#6d2c80e@33b6fb1d",
4949
"@opam/httpaf@github:inhabitedtype/httpaf:httpaf.opam#fa9dc4e@d41d8cd9",
50+
"@opam/hpack@github:314eter/ocaml-hpack:hpack.opam#9be540d@d41d8cd9",
5051
"@opam/faraday-lwt-unix@opam:0.7.0@b0dea04f",
5152
"@opam/faraday@opam:0.7.0@6026a81f",
5253
"@opam/dune@opam:1.10.0@b15ce221",
@@ -62,6 +63,22 @@
6263
"@opam/alcotest@opam:0.8.5@0b35b339"
6364
]
6465
},
66+
"esy-help2man@github:esy-packages/esy-help2man#c8e6931d1dcf58a81bd801145a777fd3b115c443@d41d8cd9": {
67+
"id":
68+
"esy-help2man@github:esy-packages/esy-help2man#c8e6931d1dcf58a81bd801145a777fd3b115c443@d41d8cd9",
69+
"name": "esy-help2man",
70+
"version":
71+
"github:esy-packages/esy-help2man#c8e6931d1dcf58a81bd801145a777fd3b115c443",
72+
"source": {
73+
"type": "install",
74+
"source": [
75+
"github:esy-packages/esy-help2man#c8e6931d1dcf58a81bd801145a777fd3b115c443"
76+
]
77+
},
78+
"overrides": [],
79+
"dependencies": [],
80+
"devDependencies": []
81+
},
6582
"esy-gmp@archive:https://gmplib.org/download/gmp/gmp-6.1.2.tar.xz#sha1:9dc6981197a7d92f339192eea974f5eca48fcffe@186b9388": {
6683
"id":
6784
"esy-gmp@archive:https://gmplib.org/download/gmp/gmp-6.1.2.tar.xz#sha1:9dc6981197a7d92f339192eea974f5eca48fcffe@186b9388",
@@ -2412,6 +2429,27 @@
24122429
"@opam/angstrom@opam:0.11.2@2e02b026"
24132430
]
24142431
},
2432+
"@opam/hpack@github:314eter/ocaml-hpack:hpack.opam#9be540d@d41d8cd9": {
2433+
"id":
2434+
"@opam/hpack@github:314eter/ocaml-hpack:hpack.opam#9be540d@d41d8cd9",
2435+
"name": "@opam/hpack",
2436+
"version": "github:314eter/ocaml-hpack:hpack.opam#9be540d",
2437+
"source": {
2438+
"type": "install",
2439+
"source": [ "github:314eter/ocaml-hpack:hpack.opam#9be540d" ]
2440+
},
2441+
"overrides": [],
2442+
"dependencies": [
2443+
"ocaml@4.8.0@d41d8cd9", "@opam/faraday@opam:0.7.0@6026a81f",
2444+
"@opam/dune@opam:1.10.0@b15ce221",
2445+
"@opam/angstrom@opam:0.11.2@2e02b026",
2446+
"@esy-ocaml/substs@0.0.1@d41d8cd9"
2447+
],
2448+
"devDependencies": [
2449+
"ocaml@4.8.0@d41d8cd9", "@opam/faraday@opam:0.7.0@6026a81f",
2450+
"@opam/angstrom@opam:0.11.2@2e02b026"
2451+
]
2452+
},
24152453
"@opam/hex@opam:1.4.0@70cc7ec2": {
24162454
"id": "@opam/hex@opam:1.4.0@70cc7ec2",
24172455
"name": "@opam/hex",
@@ -2460,7 +2498,7 @@
24602498
"dependencies": [
24612499
"ocaml@4.8.0@d41d8cd9", "@opam/ocamlfind@opam:1.8.0@f744a0c5",
24622500
"@opam/conf-which@opam:1@56319cdb",
2463-
"@opam/conf-autoconf@github:esy-packages/esy-autoconf:package.json#71a8836@d41d8cd9",
2501+
"@opam/conf-autoconf@github:esy-packages/esy-autoconf:package.json#94f846f@d41d8cd9",
24642502
"@esy-ocaml/substs@0.0.1@d41d8cd9"
24652503
],
24662504
"devDependencies": [ "ocaml@4.8.0@d41d8cd9" ]
@@ -2929,7 +2967,7 @@
29292967
],
29302968
"dependencies": [
29312969
"@opam/conf-pkg-config@opam:1.1@da0b7ce6",
2932-
"@opam/conf-autoconf@github:esy-packages/esy-autoconf:package.json#71a8836@d41d8cd9",
2970+
"@opam/conf-autoconf@github:esy-packages/esy-autoconf:package.json#94f846f@d41d8cd9",
29332971
"@esy-packages/esy-openssl@archive:https://github.com/openssl/openssl/archive/OpenSSL_1_1_1c.tar.gz#sha1:eb59b090bd757e30b676fb5e80c25ddb5a2f9511@4d267550"
29342972
],
29352973
"devDependencies": []
@@ -2994,17 +3032,19 @@
29943032
],
29953033
"devDependencies": []
29963034
},
2997-
"@opam/conf-autoconf@github:esy-packages/esy-autoconf:package.json#71a8836@d41d8cd9": {
3035+
"@opam/conf-autoconf@github:esy-packages/esy-autoconf:package.json#94f846f@d41d8cd9": {
29983036
"id":
2999-
"@opam/conf-autoconf@github:esy-packages/esy-autoconf:package.json#71a8836@d41d8cd9",
3037+
"@opam/conf-autoconf@github:esy-packages/esy-autoconf:package.json#94f846f@d41d8cd9",
30003038
"name": "@opam/conf-autoconf",
3001-
"version": "github:esy-packages/esy-autoconf:package.json#71a8836",
3039+
"version": "github:esy-packages/esy-autoconf:package.json#94f846f",
30023040
"source": {
30033041
"type": "install",
3004-
"source": [ "github:esy-packages/esy-autoconf:package.json#71a8836" ]
3042+
"source": [ "github:esy-packages/esy-autoconf:package.json#94f846f" ]
30053043
},
30063044
"overrides": [],
3007-
"dependencies": [],
3045+
"dependencies": [
3046+
"esy-help2man@github:esy-packages/esy-help2man#c8e6931d1dcf58a81bd801145a777fd3b115c443@d41d8cd9"
3047+
],
30083048
"devDependencies": []
30093049
},
30103050
"@opam/conduit-lwt@opam:1.4.0@c8d62b5a": {

‎hpack.opam

-27
This file was deleted.

‎hpack/original.LICENSE

-22
This file was deleted.

‎hpack/src/decoder.ml

-230
This file was deleted.

‎hpack/src/dune

-11
This file was deleted.

‎hpack/src/dynamic_table.ml

-147
This file was deleted.

‎hpack/src/encoder.ml

-343
This file was deleted.

‎hpack/src/hpack.ml

-35
This file was deleted.

‎hpack/src/hpack.mli

-93
This file was deleted.

‎hpack/src/huffman.ml

-122
This file was deleted.

‎hpack/src/static_table.ml

-382
This file was deleted.

‎hpack/src/types.ml

-39
This file was deleted.

‎hpack/test/dune

-13
This file was deleted.

‎hpack/test/hpack-test-case

-1
This file was deleted.

‎hpack/test/test.ml

-325
This file was deleted.

‎hpack/util/dune

-3
This file was deleted.

‎hpack/util/gen_huffman.ml

-219
This file was deleted.

‎hpack/util/gen_static.ml

-224
This file was deleted.

‎hpack/util/huffman_table.txt

-257
This file was deleted.

‎hpack/util/static_table.txt

-61
This file was deleted.

‎hpack/util/syntax.ml

-5
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.