Matthias Einwag

Results 31 issues of Matthias Einwag

Hi @lewissbaker, this is more of a question, since you seem to be well aware about how C++ coroutines work. We recently talked about cancellation of coroutines for Rust at...

question

Currently timers are just stored in a simple double linked list. This list needs to be searched on each timer insertion, which makes the operation `O(n)` in the already cache-inefficient...

The `next_expiration` API for the `GenericTimerService` doesn't work well in a multithreaded context. If an eventloop works like: ```rust loop { let expiration = timer.next_expiration(); let events = wait_for_events(expiration); handle_events(events);...

While looking at the Mutex implementation, I noticed that there is never a call to `pthread_mutex_destroy`, and the same applies also to other primitives. This "might" lead to leaks in...

I observed an issue where one of my tests using this library failed sporadically with > Expected 2 request(s) to: GET /path ...but received 3 The mock in this test...

The plugin in it's current state displays only commands which have a key mapping or which are also displayed in one of brackets main menus. However it does not cover...

## **Problem:** s2n allows users to overwrite the utilized socket IO functions with `s2n_connection_set_send_cb/s2n_connection_set_recv_cb` as well as set custom "IO Context" objects which are passed to those functions with `s2n_connection_set_recv_ctx/s2n_connection_set_send_ctx`....

While trying to use custom IO objects I had some ideas in order to make them more useful for applications. Those are presented here: ### Setting send/receive callbacks without custom...

## **Problem:** [The API docs for s2_send and vectored send functions](https://github.com/awslabs/s2n/blob/ace135daae4cf135b8340798aa75d6c5dd89b70a/docs/USAGE-GUIDE.md#s2n_send) mention > NOTE: Unlike OpenSSL, repeated calls to s2n_send should not duplicate the original parameters, but should update buf...

type/docs
type/api

### Problem: [`s2n_record_writev`](https://github.com/awslabs/s2n/blob/210f2104a3dda8d1422614c25672313ebf097693/tls/s2n_record_write.c#L192) returns [how many bytes it actually consumed from the input](https://github.com/awslabs/s2n/blob/210f2104a3dda8d1422614c25672313ebf097693/tls/s2n_record_write.c#L422). [This can be less than the input size](https://github.com/awslabs/s2n/blob/210f2104a3dda8d1422614c25672313ebf097693/tls/s2n_record_write.c#L232-L234). [When the function is used this value is however...