From: "sahu@firstpost.pub" <sahu@firstpost.pub>
To: 9front@9front.org
Subject: Re: [9front] serving html sites with announce, listen and accept (dial(2))
Date: Mon, 9 Sep 2024 09:28:43 +0200 [thread overview]
Message-ID: <E2472B71-887B-497E-A0F3-CC5362C19C83@firstpost.pub> (raw)
In-Reply-To: <764ACE45EA09860A18C7975011E8737B@musolino.id.au>
Thank you very much! In netcat I’m getting the full response now.
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.
Best regards,
Sascha
> Am 09.09.2024 um 08:10 schrieb Alex Musolino <alex@musolino.id.au>:
>
> You are declaring buf as a pointer-to-char so sizeof(buf) == 8.
> Either use strlen instead of sizeof or declare buf as an array, i.e.
> char buf[] = "...";
>
> --
> Cheers,
> Alex Musolino
>
next prev parent reply other threads:[~2024-09-09 7:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-09 5:57 sahu
2024-09-09 6:10 ` Alex Musolino
2024-09-09 7:28 ` sahu [this message]
2024-09-09 8:12 ` sirjofri
2024-09-09 9:09 ` sahu
2024-09-09 10:10 ` sirjofri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E2472B71-887B-497E-A0F3-CC5362C19C83@firstpost.pub \
--to=sahu@firstpost.pub \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).