<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mobius/hotline/client_connect_test.go, branch main</title>
<subtitle>Friendship Quest remix of mobius, a hotline server in go #cli</subtitle>
<id>https://git.r.bdr.sh/mobius/atom/hotline/client_connect_test.go?h=main</id>
<link rel='self' href='https://git.r.bdr.sh/mobius/atom/hotline/client_connect_test.go?h=main'/>
<link rel='alternate' type='text/html' href='https://git.r.bdr.sh/mobius/'/>
<updated>2026-07-10T18:18:37Z</updated>
<entry>
<title>Add tests for connection login sequence and client networking</title>
<updated>2026-07-10T18:18:37Z</updated>
<author>
<name>Jeff Halter</name>
<email>868228+jhalter@users.noreply.github.com</email>
</author>
<published>2026-07-10T18:18:37Z</published>
<link rel='alternate' type='text/html' href='https://git.r.bdr.sh/mobius/commit/?id=38f66d6e2fc7f36a0c902565551d370e7af79182'/>
<id>urn:sha1:38f66d6e2fc7f36a0c902565551d370e7af79182</id>
<content type='text'>
Cover the two biggest untested plumbing paths in the hotline package:

- handleNewConnection (server login sequence): 3.2% -&gt; 79.6%, via a
  scripted in-memory ReadWriteCloser that feeds handshake + login bytes
  and captures replies. Covers successful 1.5+ and legacy 1.2.3 flows,
  no-agreement access, incorrect login, banned username, and banned IP.

- Client Connect/HandleTransactions/keepalive: 0% -&gt; 83-93%, via a
  loopback TCP server for Connect and preloaded mock conns for the
  transaction loop and keepalive shutdown.
</content>
</entry>
</feed>
