Vinícius dos Santos Oliveira
Vinícius dos Santos Oliveira
I don't think it's a good idea to implement this feature in HttpFileServer::serveFile static method, because it'd require a global variable that can cause problems to multithreaded programs or decrease...
- JSON-RPC - XML-RPC - SOAP - ...
Lambdas may help usability a lot, then this feature should be probably be implemented only in Tufão 1.x or newer.
Some possible inspirations (need to investigate further): - http://spyne.io/ - https://twistedmatrix.com/documents/current/core/howto/pb-usage.html - https://twistedmatrix.com/documents/current/api/twisted.protocols.amp.html
PR updated/rebased
PR updated. It's a lot more stable now.
On our usage of rust-utp, a stress test to study rust-utp was used and [the failure rate was around 50%](https://github.com/maidsafe/crust/issues/439#issuecomment-162027434). With the new `set-read-timeout`, failure rate went to 0% (we...
We're still executing tests to find more problems within rust-utp and we found a few: - https://github.com/inetic/rust-utp/commit/1a578c6f70afc286faa1fe507a0cbdb08db2c76e - https://github.com/inetic/rust-utp/commit/66e5b716a8c9d19ee54c56873bc451ff78088c73 - https://github.com/inetic/rust-utp/commit/a7b30f0ef2d1cd6a82e43ad463750e86e1ddb6a6 - https://github.com/meqif/rust-utp/pull/24 All of them touches different parts of...
> [...] before the Rust reforms that removed the `set_read_timeout` method on `UdpSocket`. :disappointed: [It's back](https://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_read_timeout).