Fabio Rossetto

Results 8 issues of Fabio Rossetto

Good morning! I have a server that receives pretty large requests. The server does not process the requests right away, rather it puts them in a queue from where a...

I'm trying to implement a Single Producer, Single Consumer queue like the one in `kj/async-queue.h`, with the only difference that the `push` may be performed by another, possibly non-kj thread....

Documentation for the `host_pkey_directories` says: ``` host_pkey_directories (list): Look for pkeys in folders on this list, for example ['~/.ssh']. Default: ``None`` (disabled) ``` However in the `get_keys` function, at line...

bug
enhancement

The KJ library always sets the SO_REUSEADDR option when opening a socket. This is a sensible choice on Linux because otherwise it would not be possible to restart a server...

This commit adds a function to AsyncIoStream that helps in the interoperability of the class with other libraries. It allows to reclaim ownership of a file descriptor from an AsyncIoStream....

This issue was introduced in "Fix premature cancellation of streaming calls when capability dropped." (db470e67d284a1f345d2997b7dcd12e43f6c87d8) I have a server that can stream data to a client. When I destroy the...

I'd like to make two changes to the `WaiterQueue` class, but I'd like some feedback first. 1. `WaiterQueue::fulfill` and `WaiterQueue::reject` require the queue to be non-empty. I'm not sure I...

## Expected Behavior See the attached minimal reproducible example. SimpleCall returns an object of type `NoDefaultCtor`. Somehow, the code compiles. This doesn't make sense because how can `NoDefaultCtor` be constructed....