From 276125278d973fd39868f28a358c0710f7029452 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 8 Nov 2020 13:13:07 +0100 Subject: Probably fixed packet dropping --- kernel/features/net.c | 1 - 1 file changed, 1 deletion(-) (limited to 'kernel/features') diff --git a/kernel/features/net.c b/kernel/features/net.c index 18addbb..be4dd5e 100644 --- a/kernel/features/net.c +++ b/kernel/features/net.c @@ -285,7 +285,6 @@ void dhcp_handle_packet(struct dhcp_packet *packet) } // enum tcp_state { TCP_LISTEN, TCP_SYN_SENT, TCP_SYN_RECIEVED, TCP_ESTABLISHED, TCP_FIN_WAIT_1, TCP_FIN_WAIT_2, TCP_CLOSE_WAIT, TCP_CLOSING, TCP_LAST_ACK, TCP_TIME_WAIT, TCP_CLOSED }; -// TODO: Fix TCP retransmission (dropped packages; probably race condition) //#define test_http "HTTP/1.1 200" #define test_http "HTTP/1.2 200\nContent-Length: 14\nConnection: close\n\n

Hallo

" void tcp_handle_packet(struct tcp_packet *packet, u32 dst, int len) -- cgit v1.2.3