Skip to content

Releases: go-gnss/ntrip

Drain GET request body

17 Feb 11:56

Choose a tag to compare

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

03 Jul 04:16
fd0f4a7

Choose a tag to compare

Merge pull request #18 from go-gnss/set-write-deadline

set write deadline in write function

Stop returning Sourcetable for NTRIP v1 response errors

08 Nov 00:33
0106942

Choose a tag to compare

Merge pull request #16 from go-gnss/v1-no-sourcetable

Don't serve sourcetable on NTRIP v1 error responses

Defer Close Request Body

25 Mar 00:30

Choose a tag to compare

v0.0.13

defer close request body

Minor Fixes

09 Mar 06:06

Choose a tag to compare

v0.0.12

Force non-chunked encoding of v2 sourcetable response

Minor Fixes

09 Mar 04:57

Choose a tag to compare

Fix NTRIP request version identification for logging.

Fix v1 Sourcetable Response Headers

09 Mar 04:11
72a3091

Choose a tag to compare

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

03 Feb 00:21
cb108a1

Choose a tag to compare

Merge pull request #12 from go-gnss/minor-fixes

Add error checking to v1 requests - add log attributes

Error check in New Client

22 Jun 06:19

Choose a tag to compare

v0.0.8

Add error check in new client

New Client Request Methods

08 Jun 03:29
71d7983

Choose a tag to compare

Merge pull request #11 from go-gnss/client-default-v2

Simplify client code slightly and add examples