-
Notifications
You must be signed in to change notification settings - Fork 33
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
Is it possible to use with non-TCP connections? (e.g. UDS) #92
Comments
Unfortunately |
Have you tried using the There is examples/aws_lambda.rs that illustrates the approach. It would involve some marshaling of the request and response (shown earlier in that same example). Let me know if you've already figured this out, so we can close the issue. Thanks! |
I haven't figured it out, and switched from Routerify to my own router implementation. |
It looks like the
RouterService
hardcodes use of TCP-specificAddrStream
:routerify/src/service/router_service.rs
Line 82 in c8b7e21
I'm trying to accept HTTP requests over a Unix Domain Socket, which is incompatible with
AddrStream
.Could you make this arg generic?
Second problem is that the service can't be cloned, so I can't do:
I have to use
Service
trait andmake_service_fn
, because actual trait usedserve
is private. Unfortunately, themake_service_fn
requires creating a new object each time.The text was updated successfully, but these errors were encountered: