majestrate / srndv2

some random news daemon (version 2)
MIT License
19 stars 6 forks source link

Do ping pong! #53

Closed Anoncheg1 closed 7 years ago

Anoncheg1 commented 7 years ago

Send "500\n" or "говно\n" to maintain stream connection once in 1-2 min. Make it neatly. Do not send it in the middle of another transfer.

majestrate commented 7 years ago

what about sending CHECK <no@op>\n instead? that way no changes to protocol are needed.

Anoncheg1 commented 7 years ago

Send "CHECK\r\n" without anything, be kind. "501 invalid command usage" is response of mine.

majestrate commented 7 years ago

On Sat, Apr 22, 2017 at 02:26:37AM -0700, Anoncheg1 wrote:

Send "CHECK\r\n" without anything, be kind.

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/majestrate/srndv2/issues/53#issuecomment-296360706

CHECK with no arguments is not valid syntax, i'll just send a dummy CHECK.

majestrate commented 7 years ago

fixed in https://github.com/majestrate/nntpchan/commit/66655b18d5cba525263fa1e8b5ad3f493bb98f13