Skip to content

feat: add some small modifications to fix build and runtime errors on Linux#2

Open
airween wants to merge 4 commits intoMustafa-khann:mainfrom
airween:feat/buildfix
Open

feat: add some small modifications to fix build and runtime errors on Linux#2
airween wants to merge 4 commits intoMustafa-khann:mainfrom
airween:feat/buildfix

Conversation

@airween
Copy link

@airween airween commented Jun 9, 2025

Modifications:

  • added _POSIX_C_SOURCE for strdup() in http_parser.c
  • added strings.h() for strncasecmp() in http_parser.c
  • fixed MAX_HEADERS_SIZE (there was a typo)
  • fixed concatenated literals and missing text in printf() arguments
  • fixed socket() value handling
  • added missed listen()
  • fixed accept() handling
  • added .gitignore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant