synodriver

Results 12 issues of synodriver

第一个原型,还会添加更多测试。 实现细节: - 发送文件时完全使用os.open读取。这样做是因为一旦发现zerocopy不可用,还能使用os.read来读取为bytes,但是如果一开始就读取为bytes那是无论如何都不能再变回文件描述符了

In the current asgi spec, [sendfile](https://asgi.readthedocs.io/en/latest/extensions.html#zero-copy-send) is supported. If this webdav server can take advantage of zero-copy-send extension, it would greatly improve server's performance. 当前的ASGI规范中,有个[sendfile](https://asgi.readthedocs.io/en/latest/extensions.html#zero-copy-send)扩展。如果可以利用这个扩展直接发送文件,那么整个服务器的性能必然可以有很大的提升。 By the way, is there...

enhancement