Commit 53999d0 1 parent 806e581 commit 53999d0 Copy full SHA for 53999d0
File tree 3 files changed +9
-1
lines changed
3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " truss"
3
- version = " 0.7.17rc1 "
3
+ version = " 0.7.17rc2 "
4
4
description = " A seamless bridge from model development to model delivery"
5
5
license = " MIT"
6
6
readme = " README.md"
Original file line number Diff line number Diff line change @@ -59,6 +59,10 @@ def run(self):
59
59
application ,
60
60
host = application .state .control_server_host ,
61
61
port = application .state .control_server_port ,
62
+ # We hard-code the http parser as h11 (the default) in case the user has
63
+ # httptools installed, which does not work with our requests & version
64
+ # of uvicorn.
65
+ http = "h11" ,
62
66
)
63
67
cfg .setup_event_loop ()
64
68
Original file line number Diff line number Diff line change @@ -261,6 +261,10 @@ def exit_self():
261
261
def start (self ):
262
262
cfg = uvicorn .Config (
263
263
self .create_application (),
264
+ # We hard-code the http parser as h11 (the default) in case the user has
265
+ # httptools installed, which does not work with our requests & version
266
+ # of uvicorn.
267
+ http = "h11" ,
264
268
host = "0.0.0.0" ,
265
269
port = self .http_port ,
266
270
workers = NUM_WORKERS ,
You can’t perform that action at this time.
0 commit comments