Dan Burkert
Dan Burkert
Protecting against untrusted clients needs to be handled at a layer outside of `prost`. `prost` only decodes messages from byte buffers, so if you are calling decode the untrusted and...
Sounds like you are hinting at a second scenario where the server is running an older version of your software, and you want to protect against a client sending a...
For point 1, what would the function signature be? I don’t see how that can be defined without cloning the nested message or modifying the outer message, neither of which...
Hi @Veetaha, I think this may be a dupe of #150, could you try the suggestion I made there?
I've added a PR with the proposed new methods here: https://github.com/tokio-rs/tokio/pull/4447. I went with the names `[try_]acquire_permits[_owned]`, but definitely open to changing that. I did not add deprecation tags to...
@Darksonn with the API as it is, it's not possible to use `Semaphore` to implement memory leases with support for leases > 4GiB. Memory leases of this style are a...
It's situationally possible to extend the usefulness of the current `Semaphore` type by mapping a lease to a page of memory instead of a byte, yielding a leases of up...
> Linux will automatically merge pages to a huge page when MADV_HUGEPAGE is set, and "The kernel will also allocate huge pages directly when the region is naturally aligned to...
We should at the very least provide a way to set `MAP_HUGETLB` when creating the memory map, since that pretty fundamentally has to be done with this library. To date...
Yes, I'm confident this can be done backwards compatibly.