1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-14 21:41:00 +00:00
serenity/Services/TelnetServer
asynts 26f4b5e6ba TelnetServer: Use OutputMemoryStream instead of BufferStream.
I could not test these changes because I could not get my telnet client
(on Linux) to connect to the telnet server running in Serenity.

I tried the follwing:

    # Serenity
    su
    TelnetServer

    # Linux
    telnet localhost 8823

The server then immediatelly closes the connection:

    Connection closed by foreign host.

In the debug logs the following message appears:

    [NetworkTask(5:5)]: handle_tcp: unexpected flags in FinWait2 state
    [NetworkTask(5:5)]: handle_tcp: unexpected flags in Closed state
    [NetworkTask(5:5)]: handle_tcp: unexpected flags in Closed state

This seems to be an unrelated bug in the TCP implementation.
2020-09-21 09:37:49 +02:00
..
Client.cpp TelnetServer: Use OutputMemoryStream instead of BufferStream. 2020-09-21 09:37:49 +02:00
Client.h Services: Renamed from Servers 2020-05-08 21:57:44 +02:00
CMakeLists.txt Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
Command.h Services: Renamed from Servers 2020-05-08 21:57:44 +02:00
main.cpp TelnetServer: Use OutputMemoryStream instead of BufferStream. 2020-09-21 09:37:49 +02:00
Parser.cpp Services: Renamed from Servers 2020-05-08 21:57:44 +02:00
Parser.h Services: Renamed from Servers 2020-05-08 21:57:44 +02:00