samisagit / natskell

A NATS client library written in Haskell
MIT License
5 stars 0 forks source link

Check encoding leniency #88

Closed samisagit closed 1 year ago

samisagit commented 1 year ago

Having tested some of the low level parsers, they do not play well with non ascii data.

Ideally we don't want to enforce any encoding of payloads for example.

Add a test with a protobuf payload and see what happens.

samisagit commented 1 year ago

The above mentioned tests now pass, this was testing issue, caused by converting String -> ByteString to pass into fuzzers, but asserting on the strong values