From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <9front-bounces@9front.inri.net> X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from 9front.inri.net (9front.inri.net [168.235.81.73]) by inbox.vuxu.org (Postfix) with ESMTP id 670492EBF6 for ; Mon, 9 Sep 2024 09:29:58 +0200 (CEST) Received: from mail.firstpost.pub ([46.23.93.143]) by 9front; Mon Sep 9 03:28:58 -0400 2024 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=firstpost.pub; s=2024; t=1725866935; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sGJ3GWlr+5d5MQBl2jYBCefbc7+5nhAXSqGltCk7fE8=; b=4LCqvtTMSx9h2BeZn/GlS8xsXq5Tbxdb9dsyd7h56GUXcKB5+tAdtFVGuIFrjMcCEYJdJf DXIzK6MmFyr76STHolKZUEDzybGo0/XGeWTyQoilDDgQTo6rNsUChq3jVO8wy8vIF9O1rO OPKEWfmWA5UGu/Q37QPX4wpuCBW0MGQ= Received: from smtpclient.apple (unn-149-88-19-250.datapacket.com [149.88.19.250]) by firstpost.openbsd.amsterdam (OpenSMTPD) with ESMTPSA id 98f41969 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <9front@9front.org>; Mon, 9 Sep 2024 09:28:54 +0200 (CEST) From: "sahu@firstpost.pub" Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Date: Mon, 9 Sep 2024 09:28:43 +0200 References: <764ACE45EA09860A18C7975011E8737B@musolino.id.au> To: 9front@9front.org In-Reply-To: <764ACE45EA09860A18C7975011E8737B@musolino.id.au> Message-Id: X-Mailer: Apple Mail (2.3776.700.51) List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: plugin just-in-time-based extension Subject: Re: [9front] serving html sites with announce, listen and accept (dial(2)) Reply-To: 9front@9front.org Precedence: bulk Thank you very much! In netcat I=E2=80=99m getting the full response = now.=20 Unfortunately, there is still no response in my browser. If anyone has = any hints about this, I would be very happy to hear them. Until then, I = will try to understand how a response is composed with the help of = tcp80.c from Igor.=20 Best regards,=20 Sascha > Am 09.09.2024 um 08:10 schrieb Alex Musolino : >=20 > You are declaring buf as a pointer-to-char so sizeof(buf) =3D=3D 8. > Either use strlen instead of sizeof or declare buf as an array, i.e. > char buf[] =3D "..."; >=20 > -- > Cheers, > Alex Musolino >=20