Releases: go-gnss/ntrip
Releases · go-gnss/ntrip
Drain GET request body
GET request clients can write data to the server via the TCP connection. This data was previously not read by the server, resulting in TCP receive queues filling up (leading to excessive memory usage). This release drains all data written by GET clients into io.Discard.
The behaviour from the client is allowed by the standard, which states the GET client may write NMEA messages to the server at any time.
Add write timeouts in NTRIP handlers
Merge pull request #18 from go-gnss/set-write-deadline set write deadline in write function
Stop returning Sourcetable for NTRIP v1 response errors
Merge pull request #16 from go-gnss/v1-no-sourcetable Don't serve sourcetable on NTRIP v1 error responses
Defer Close Request Body
v0.0.13 defer close request body
Minor Fixes
v0.0.12 Force non-chunked encoding of v2 sourcetable response
Minor Fixes
Fix NTRIP request version identification for logging.
Fix v1 Sourcetable Response Headers
Was previously returning the sourcetable for v1 requests like so:
SOURCETABLE 200 OK\r\n
<content>
Should have been including additional headers:
SOURCETABLE 200 OK\r\n
Connection: close\r\n
Content-Type: text/plain\r\n
Content-Length: <content length>\r\n
\r\n
<content>
Note additional \r\n between headers and content.
Additional Logging and Error Checking in Caster Handlers
Merge pull request #12 from go-gnss/minor-fixes Add error checking to v1 requests - add log attributes
Error check in New Client
v0.0.8 Add error check in new client
New Client Request Methods
Merge pull request #11 from go-gnss/client-default-v2 Simplify client code slightly and add examples