Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8489359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T21:48:27+00:00 2026-06-10T21:48:27+00:00

I am using this module https://github.com/Lax/ngx_http_accounting_module for accounting nginx request count and byte out

  • 0

I am using this module https://github.com/Lax/ngx_http_accounting_module for accounting nginx request count and byte out

I can see bytes_out is used in code and is working fine .

code snippet:
ngx_http_accounting_handler(ngx_http_request_t *r){
..
stats->bytes_out += r->connection->sent;
}

But how to calculate bytes_in? any clue? I checked ngx_http_request_s & ngx_connection_s which has ‘sent’ data but not the receive data. Any suggestion would be really helpful

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T21:48:29+00:00Added an answer on June 10, 2026 at 9:48 pm

    Use r->request_length, much like it’s done in nginx core for the $request_length log module variable.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the django_notification module. https://github.com/pinax/django-notification/blob/master/docs/usage.txt This is what I do in my code
I'm using knox module to https://github.com/LearnBoost/knox to create signed URLs for files on S3,
I am using node-mysql module ( https://github.com/felixge/node-mysql ) OR ( http://utahjs.com/2010/09/22/nodejs-and-mysql-introduction/ ) . Is
I'm using the Node.js ORM module : https://github.com/dresende/node-orm I'm able to create a model
I'm using async module (see https://github.com/caolan/async ) for Node.js and my question is... Why
I'm using heroku and django / vertualenv ... I used this boostrap file: https://github.com/mtigas/heroku-django-demo-app/blob/master/tldr.markdown
I have Apache2 with PyAuthenNTLM2 module (see https://github.com/Legrandin/PyAuthenNTLM2 ). This Apache module put the
I am using the middleware provided in https://gist.github.com/426829 to do cross site scripting. However,
I have built ffmpeg for Android using the code and method described at https://github.com/halfninja/android-ffmpeg-x264
I'm using the django-facebook library ( https://github.com/tschellenbach/Django-facebook ) for authentication using Facebook. However, when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.