Paul Colomiets

Results 453 comments of Paul Colomiets

Yes. It shouldn't be too hard to figure out how to do it. Contributions are welcome

Well, I think an empty body is still a body. We return `false` when it's 304, or similar thing where body is omitted or prohibited. And I think it's still...

Can someone take a look at this issue: https://github.com/neovide/neovide/issues/958 ? It uses a branch from @Kethku although that is based on this branch as much as I can see. The...

I'm confirming that bug neovide/neovide#958 is reproducing using `winit_keyboard_tester` built with the tip of this branch ea59172d

Also got this error when tried to strace `winit_keyboard_tester`: ``` thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 4, kind: Interrupted, message: "Interrupted system call"...

Notes before I've forgot the details: 1. winit captures all the keyboard events (which I'm not very comfortable with, but..) 2. `winit_keyboard_tester` (and perhaps `neovide` too) uses keybindings only when...

> Could you elaborate on how sendfile would need to be implemented? I'm not sure I understand question. Using sendfile is similar to `write` or `writev`. Something along the lines...

@alexcrichton should `need_write` be on AsyncWrite?

@asomers, this is a different problem. Yes, `sendfile` must be called in a thread. Along with `open`, `stat` and other filesystem-related syscalls.

> But I prefer to handle the error myself (so e.g. I have a chance to log or report the error). My use is to handle temporary Too many open...