SAP / go-ase

SAP ASE Database Client for Go
Apache License 2.0
25 stars 14 forks source link

Fix packet sizes #169

Closed ntnn closed 3 years ago

ntnn commented 3 years ago

The methods Conn.PacketSize and Conn.PacketBodySize must be pointer receivers, otherwise they operate on their own copy of Conn at the time of them being passed to the Channels.

Description

The methods Conn.PacketSize and Conn.PacketBodySize must be pointer receivers, otherwise they operate on their own copy of Conn at the time of them being passed to the Channels.

Related issues

Link any related issues here.

Tests