Enable unix domain socket binding#1019
Conversation
If hostname starts with 'unix://', assume a unix domain socket instead of a TCP socket.
|
@untitaker do you have some time to check this? |
|
Can any one at Werkzeug check this? |
|
at first glance the code looks good, i wont have time to test near term however |
|
LGTM too. I wonder if we can add a test for this, though test setup for the server is always very brittle... |
|
Also sorry for the super-slow response! |
|
I'll write a test. I am not sure how to integrate it with your CIT though. |
|
I'm going to write a testcase, could you add appropriate docs? I.e. modify the docstring of run_simple and make_server and perhaps add an example in serving.rst |
|
Sure. I will do soon |
|
Here's a testcase, I'll refactor the entire server soon |
|
Here is the requested documentation. |
|
Hey @untitaker It's been a while since I started this and I never fixed the test... |
|
Sorry I dont maintain this anymore.
…On 27 December 2017 16:55:20 GMT+01:00, sergiosmcr ***@***.***> wrote:
Hey @untitaker It's been a while since I started this and I never fixed
the test...
I've just rebased and have stronger wishes to merge this.
Would you help me to fix the test?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#1019 (comment)
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
|
Oh ok. |
bc27b72 to
d520b8c
Compare
use requests_unixsocket
|
Rebased to master, squashed, fixed git user info, added docs and changelog. I switched this to use the |
If hostname starts with 'unix://', assume a
unix domain socket instead of a TCP socket.
I took the original solution from @runderwood PR #209 posted 4 years ago, and adjusted it to work in latest code.