Skip to content

Enhancement/Fixes for the Overview function#9

Open
Tensai75 wants to merge 15 commits intochrisfarms:masterfrom
Tensai75:master
Open

Enhancement/Fixes for the Overview function#9
Tensai75 wants to merge 15 commits intochrisfarms:masterfrom
Tensai75:master

Conversation

@Tensai75
Copy link

@Tensai75 Tensai75 commented Mar 6, 2022

In order to use this nntp package in my go project I hade to do some fixes/enhancements in the Overview function to get it to work correctly with my usenet provider:

  • The NNTP server only has the newer XOVER command but not the OVER command available, so I added a fallback to try XOVER if OVER is not recognized.
  • And some headers returned by the (X)OVER command sometimes have an empty string as lines or bytes values which however should not result in an error. In such cases 0 should be returned as the value for the bytes or lines repectively.

I hope these enhacements/fixes are useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant