Giter Site home page Giter Site logo

ngx_massive_chunker's Introduction

Name
    ngx_massive_chunker - debug module to force output in tiny chunks.

    *This module is not distributed with the Nginx source.* See the
    installation instructions.


Use Case
    This module is intended to be used with 2 nginx instances, one with
    a proxy_pass to the other while using keepalives.


Status
    This module is intended for debugging only, this shouldn't be used
    in production under any circumnstances.


Synopsis

     server {

        location /chunks {
            mass_chunk on;
            mass_chunk_max_size 3;
            mass_chunk_max_chunks 3;
        }
     }


Directives
  mass_chunk
     syntax: mass_chunk on|off

     default: mass_chunk off

     enable the massive chunking, it will split the content into separate
     chunks.

  mass_chunk_max_size
     syntax: mass_chunk_max_size <size>

     default: mass_chunk_max_size 10

     configure maximum number of bytes that will be sent in a single chunk.

  mass_chunk_max_chunks
     syntax: mass_chunk_max_chunks <size>

     default: mass_chunk_max_chunks 0

     configure maximum number of chunks that will be sent in a single chain
     (for local debugging) or TCP packet (for remote debugging).
     Note: 0 means off, all the chunks will be sent in the same chain.


Installation

     To build nginx with the massive chunker :

     cd nginx

     ./configure --add-module=/path/to/ngx_massive_chunker

     make && make install


Copyright

    Copyright (C) 2011, Matthieu Tourne <[email protected]>.


ngx_massive_chunker's People

Contributors

mtourne avatar piotrsikora avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ngx_massive_chunker's Issues

missing license

Hey Matthieu,
could you please add license so that this module could be legally used (and ideally, modified)?

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.