Benjamin Saunders

Results 609 comments of Benjamin Saunders

The erroneous uses of Bool instead of CInt in the FFI have been corrected in 2f86bd. As this has little to do with the original issue, this issue remains open.

I attempted this once previously and found that the built-in extended attributes rely heavily enough on C++ template magic that they cannot be handled generically in C bindings, i.e. they...

I'll try to bang that one out; I'll probably want it someday myself.

> Using the builder pattern, pros and cons Using a builder whose methods take and return `&mut Self`, rather than `Self`, addresses the cons here. This is the approach taken...

> In any case, we could just try matching those semantics first: have different *InputFile types, and they return Err if the file you're trying to open doesn't match its...

> I was assuming we'd write our own simplifications for that, rather than wrapping theirs, because it's that much less unsafe FFI surface area and should be straightforward. That makes...

These would also be useful as SIMD implementations, enabling dramatic speedups on common hardware without any extra threads at all.

People who need that might be better served by using rust-native-tls.

Note that sending an alert (or rather, propagating it to the transport layer) is mandatory in various situations for QUIC.