pgx/pgproto3
Jack Christensen cbb3fa5ecc Fix reading interrupted messages
When an message is received and a timeout occurs after reading the
header but before reading the entire body the connection state could
be corrupted due to the header being consumed. The next read would
consider the body of the previous message as the header for the next.

fixes #348
2017-12-16 13:45:22 -06:00
..
authentication.go Use github.com/pkg/errors 2017-06-04 21:30:03 -05:00
backend.go Fix reading interrupted messages 2017-12-16 13:45:22 -06:00
backend_key_data.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
backend_test.go Fix reading interrupted messages 2017-12-16 13:45:22 -06:00
big_endian.go Introduce pgproto3 package 2017-04-29 10:02:38 -05:00
bind.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
bind_complete.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
close.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
close_complete.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
command_complete.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
copy_both_response.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
copy_data.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
copy_in_response.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
copy_out_response.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
data_row.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
describe.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
empty_query_response.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
error_response.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
execute.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
flush.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
frontend.go Fix reading interrupted messages 2017-12-16 13:45:22 -06:00
frontend_test.go Fix reading interrupted messages 2017-12-16 13:45:22 -06:00
function_call_response.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
no_data.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
notice_response.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
notification_response.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
parameter_description.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
parameter_status.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
parse.go Ensure pgproto3.Parse.Decode overwrites itself entirely 2017-05-29 11:24:49 -05:00
parse_complete.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
password_message.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
pgproto3.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
query.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
ready_for_query.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
row_description.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
startup_message.go Use github.com/pkg/errors 2017-06-04 21:30:03 -05:00
sync.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00
terminate.go Replace MarshalBinary with Encode 2017-05-26 17:00:44 -05:00