aerospike / aerospike-client-rust

Rust client for the Aerospike database
https://www.aerospike.com/
Other
82 stars 29 forks source link

Clear connection buffer on server error #76

Closed jhecking closed 4 years ago

jhecking commented 4 years ago

When a scan/query command returns a server error, we need to always clear the connection buffer.

Also adds protection for excessive memory allocation due to parse errors to the info command buffer, similar to the regular connection buffer.

Resolves #75.