mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 02:29:21 +00:00
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.
This commit is contained in:
parent
8f06e4aaa4
commit
26f4b5e6ba
Notes:
sideshowbarker
2024-07-19 02:18:28 +09:00
Author: https://github.com/asynts
Commit: 26f4b5e6ba
Pull-request: https://github.com/SerenityOS/serenity/pull/3561
2 changed files with 5 additions and 4 deletions
|
@ -25,7 +25,6 @@
|
|||
*/
|
||||
|
||||
#include "Client.h"
|
||||
#include <AK/BufferStream.h>
|
||||
#include <AK/ByteBuffer.h>
|
||||
#include <AK/HashMap.h>
|
||||
#include <AK/IPv4Address.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue