Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/net/webdav: PROPFIND fails on OpenBSD if the directory has a unix domain socket in it #18843
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
I'm able to reproduce this issue with Go 1.9 on current distributions of Linux (Ubuntu), OpenBSD, Dragonfly BSD, and MacOS. What I see using cadaver and curl is that the XML returned is almost valid, except 'internal server error' is appended after the last closing tag, making it junk.
I tested against other webdav servers (I used apache with the dav mod), and found that in the same conditions the broken pipe is silently ignored by the dav server.
For example, in the local
And in cadaver:
Analyzing the order of function calls and overall functionality, I also noticed the server logs and an extra error:
Edit: This also breaks if the dav server tries to host a file with no permissions