-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhttp2.asd
138 lines (126 loc) · 4.94 KB
/
http2.asd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
;;;; http2.asd
(defsystem "http2/core"
:description "HTTP2 protocol implementation"
:author "Tomáš Zellerin <[email protected]>"
:license "MIT"
:serial t
:depends-on ("trivial-gray-streams" "flexi-streams"
"anaphora" "gzip-stream" "alexandria"
"trivial-utf-8"
"chipz"
"mgl-pax"
"cl+ssl")
:components ((:file "package")
(:module "core"
:components ((:file "utils")
(:file "pipe")
(:file "errors")
(:file "hpack")
#+nil (:file "glossary")
(:file "classes")
(:file "frames")
(:file "frames/http2-stream")
(:file "frames/rst-and-goaway")
(:file "frames/headers")
(:file "frames/data")
(:file "frames/settings")
(:file "frames/push-promise")
(:file "frames/altsvc")
(:file "frames/ping")
(:file "binary-payload")
(:file "gzip-decode")
(:file "utf8")))))
(defsystem "http2/stream-based"
:description "HTTP2 protocol implementation"
:author "Tomáš Zellerin <[email protected]>"
:license "MIT"
:serial t
:depends-on ("http2/core" "bordeaux-threads")
:components ((:file "package")
(:module "core"
:components ((:file "stream-based-connections")
(:file "payload-streams")))))
(defsystem "http2/client"
:description "An example of http/2 client"
:author "Tomáš Zellerin <[email protected]>"
:license "MIT"
:version "2.0.1"
:serial t
:pathname "client"
:depends-on ("cl+ssl" "puri" "http2/stream-based")
:components ((:file "client-utils")
(:FILE "client")))
(defsystem "http2/server/shared"
:description "An example of http/2 server"
:author "Tomáš Zellerin <[email protected]>"
:license "MIT"
:serial t
:pathname "server"
;; FIXME: is /tls really needed?
:depends-on ("puri" #+nil "http2/tls" "http2/core" "http2/stream-based" "http2/openssl")
:components ((:file "socket-dispatcher")
(:file "dispatch")
(:file "scheduler")))
(defsystem "http2/server/threaded"
:description "An example of http/2 server"
:author "Tomáš Zellerin <[email protected]>"
:license "MIT"
:serial t
:pathname "server"
:depends-on ("puri" "http2/server/shared")
:components ((:file "../tls/server")
(:file "threaded")))
(defsystem "http2"
:version "2.0.1"
:depends-on ("http2/client" "http2/server" "http2/server/poll")
:components ((:file "overview"))
:description "Load this system to load all HTTP/2 components - in particular, both client and
server."
:properties ((:readme-section (@overview)))
:in-order-to ((test-op (test-op "http2/test"))))
(defsystem "http2/test-samples"
:depends-on ("http2/client")
:description "Provide some test samples for common error generating patterns.
Run these patterns against servers."
:components
((:file "client/payload-tests")))
(defsystem "http2/test"
:version "0.1"
:depends-on ("http2" "fiasco")
:pathname "tests"
:perform (test-op (o s)
(symbol-call :fiasco '#:run-package-tests :package '#:http2/tests))
:components ((:file "tests")
(:file "utils")
(:file "test-samples")
(:file "errors-lowlevel")
(:file "high-level")
(:file "tests-hpack")))
(defsystem "http2/openssl"
:version "0.1"
:defsystem-depends-on ("cffi-grovel")
:depends-on ("cffi" "mgl-pax" "anaphora" "cl+ssl")
:pathname "tls"
:perform (test-op (o s)
(symbol-call :fiasco '#:run-package-tests :package '#:http2/tests))
:components ((:file "../package") (:cffi-grovel-file "openssl-grovel")
(:file "openssl")))
(asdf:defsystem "http2/server/poll"
:description "Asyncronous polling implementations of HTTP2 server."
:author "Tomáš Zellerin <[email protected]>"
:serial t
:depends-on ("mgl-pax" "puri" "http2/server/shared" "http2/openssl")
:pathname "server"
:components ((:cffi-grovel-file "poll-grovel")
(:file "poll-openssl")
(:file "poll-server")))
(asdf:defsystem "http2/server"
:description "Asyncronous polling implementations of HTTP2 server."
:author "Tomáš Zellerin <[email protected]>"
:version "2.0.1"
:serial t
:depends-on ("http2/server/threaded" "http2/server/poll")
:pathname "server"
:components ((:cffi-grovel-file "poll-grovel")
(:file "poll-openssl")
(:file "poll-server")))