Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

$request_body is empty after it set to a variable

Open
#80 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
c, nginx
Domain
backend

Research direction

Start by reproducing the reported Nginx configuration using echo_read_request_body, $request_body, set, and logformat. Compare logging $request_body directly with logging the variable assigned from it; done means the assigned value contains the request body consistently.

Written by the indexing model from the issue text.

Description

echo_read_request_body is called before I get $request_body, if I add $request_body to logformat, it seems ok. But when I call set $value $request_body; and put $value into logformat, the $value is empty.

Dominant language
C
Stars
1.2k
Forks
250
Avg merge
25m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openresty/echo-nginx-module

All issues in openresty/echo-nginx-module

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.