mirror of https://github.com/rwf2/Rocket.git
6b608797a2
Issue #547 identified a performance issue when serde's 'from_reader' is used to deserialize incoming data. Using 'from_str' resolves the issue. This commit swaps a use of 'from_reader' in favor of 'from_str' in rocket_contrib's 'Json' implementation. Additionally, this commit ensures that un-deserialized JSON data is discarded as long as it is within the JSON data limit. Closes #562. |
||
---|---|---|
.. | ||
templates | ||
json.rs | ||
lib.rs | ||
msgpack.rs | ||
uuid.rs |