Changeset 2494:78d4e25adf49 in nginx_org


Ignore:
Timestamp:
01/29/20 19:21:26 (3 weeks ago)
Author:
Yaroslav Zhuravlev <yar@…>
Branch:
default
Phase:
public
Message:

Documented "BodyReadError" in the API.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • xml/en/docs/http/ngx_http_api_module.xml

    r2493 r2494  
    10121012invalid “<literal>fail_timeout</literal>” (<literal>UpstreamBadFailTimeout</literal>),
    10131013invalid “<literal>slow_start</literal>” (<literal>UpstreamBadSlowStart</literal>),
     1014reading request body failed <literal>BodyReadError</literal>),
    10141015route is too long (<literal>UpstreamBadRoute</literal>),
    10151016“<literal>service</literal>” is empty (<literal>UpstreamBadService</literal>),
     
    10841085invalid “<literal>fail_timeout</literal>” (<literal>UpstreamBadFailTimeout</literal>),
    10851086invalid “<literal>slow_start</literal>” (<literal>UpstreamBadSlowStart</literal>),
     1087reading request body failed <literal>BodyReadError</literal>),
    10861088route is too long (<literal>UpstreamBadRoute</literal>),
    10871089“<literal>service</literal>” is empty (<literal>UpstreamBadService</literal>),
     
    11951197key required (<literal>KeyvalFormatError</literal>),
    11961198keyval timeout is not enabled (<literal>KeyvalFormatError</literal>),
    1197 only one key can be added (<literal>KeyvalFormatError</literal>), returns <link id="def_nginx_error">Error</link></listitem>
     1199only one key can be added (<literal>KeyvalFormatError</literal>),
     1200reading request body failed <literal>BodyReadError</literal>), returns <link id="def_nginx_error">Error</link></listitem>
    11981201<listitem>404 - Keyval not found (<literal>KeyvalNotFound</literal>), returns <link id="def_nginx_error">Error</link></listitem>
    11991202<listitem>405 - Method disabled (<literal>MethodDisabled</literal>), returns <link id="def_nginx_error">Error</link></listitem>
     
    12231226key required (<literal>KeyvalFormatError</literal>),
    12241227keyval timeout is not enabled (<literal>KeyvalFormatError</literal>),
    1225 only one key can be updated (<literal>KeyvalFormatError</literal>), returns <link id="def_nginx_error">Error</link></listitem>
     1228only one key can be updated (<literal>KeyvalFormatError</literal>),
     1229reading request body failed <literal>BodyReadError</literal>), returns <link id="def_nginx_error">Error</link></listitem>
    12261230<listitem>404 - Keyval not found (<literal>KeyvalNotFound</literal>),
    12271231keyval key not found (<literal>KeyvalKeyNotFound</literal>), returns <link id="def_nginx_error">Error</link></listitem>
     
    15461550no resolver defined to resolve (<literal>UpstreamConfNoResolver</literal>),
    15471551upstream “<value>name</value>” has no backup (<literal>UpstreamNoBackup</literal>),
    1548 upstream “<value>name</value>” memory exhausted (<literal>UpstreamOutOfMemory</literal>), returns <link id="def_nginx_error">Error</link></listitem>
     1552upstream “<value>name</value>” memory exhausted (<literal>UpstreamOutOfMemory</literal>),
     1553reading request body failed <literal>BodyReadError</literal>), returns <link id="def_nginx_error">Error</link></listitem>
    15491554<listitem>404 - Upstream not found (<literal>UpstreamNotFound</literal>), returns <link id="def_nginx_error">Error</link></listitem>
    15501555<listitem>405 - Method disabled (<literal>MethodDisabled</literal>), returns <link id="def_nginx_error">Error</link></listitem>
     
    16151620invalid “<literal>fail_timeout</literal>” (<literal>UpstreamBadFailTimeout</literal>),
    16161621invalid “<literal>slow_start</literal>” (<literal>UpstreamBadSlowStart</literal>),
     1622reading request body failed <literal>BodyReadError</literal>),
    16171623“<literal>service</literal>” is empty (<literal>UpstreamBadService</literal>),
    16181624server “<value>ID</value>” address is immutable (<literal>UpstreamServerImmutable</literal>),
     
    17251731key required (<literal>KeyvalFormatError</literal>),
    17261732keyval timeout is not enabled (<literal>KeyvalFormatError</literal>),
    1727 only one key can be added (<literal>KeyvalFormatError</literal>), returns <link id="def_nginx_error">Error</link></listitem>
     1733only one key can be added (<literal>KeyvalFormatError</literal>),
     1734reading request body failed <literal>BodyReadError</literal>), returns <link id="def_nginx_error">Error</link></listitem>
    17281735<listitem>404 - Keyval not found (<literal>KeyvalNotFound</literal>), returns <link id="def_nginx_error">Error</link></listitem>
    17291736<listitem>405 - Method disabled (<literal>MethodDisabled</literal>), returns <link id="def_nginx_error">Error</link></listitem>
     
    17531760key required (<literal>KeyvalFormatError</literal>),
    17541761keyval timeout is not enabled (<literal>KeyvalFormatError</literal>),
    1755 only one key can be updated (<literal>KeyvalFormatError</literal>), returns <link id="def_nginx_error">Error</link></listitem>
     1762only one key can be updated (<literal>KeyvalFormatError</literal>),
     1763reading request body failed <literal>BodyReadError</literal>), returns <link id="def_nginx_error">Error</link></listitem>
    17561764<listitem>404 - Keyval not found (<literal>KeyvalNotFound</literal>),
    17571765keyval key not found (<literal>KeyvalKeyNotFound</literal>), returns <link id="def_nginx_error">Error</link></listitem>
  • yaml/nginx_api.yaml

    r2493 r2494  
    777777            invalid “*fail_timeout*” (*UpstreamBadFailTimeout*),
    778778            invalid “*slow_start*” (*UpstreamBadSlowStart*),
     779            reading request body failed *BodyReadError*),
    779780            route is too long (*UpstreamBadRoute*),
    780781            “*service*” is empty (*UpstreamBadService*),
     
    874875            invalid “*fail_timeout*” (*UpstreamBadFailTimeout*),
    875876            invalid “*slow_start*” (*UpstreamBadSlowStart*),
     877            reading request body failed *BodyReadError*),
    876878            route is too long (*UpstreamBadRoute*),
    877879            “*service*” is empty (*UpstreamBadService*),
     
    10171019            key required (*KeyvalFormatError*),
    10181020            keyval timeout is not enabled (*KeyvalFormatError*),
    1019             only one key can be added (*KeyvalFormatError*)
     1021            only one key can be added (*KeyvalFormatError*),
     1022            reading request body failed *BodyReadError*)
    10201023          schema:
    10211024            $ref: '#/definitions/NginxError'
     
    10761079            key required (*KeyvalFormatError*),
    10771080            keyval timeout is not enabled (*KeyvalFormatError*),
    1078             only one key can be updated (*KeyvalFormatError*)
     1081            only one key can be updated (*KeyvalFormatError*),
     1082            reading request body failed *BodyReadError*)
    10791083          schema:
    10801084            $ref: '#/definitions/NginxError'
     
    14431447            no resolver defined to resolve (*UpstreamConfNoResolver*),
    14441448            upstream “**name**” has no backup (*UpstreamNoBackup*),
    1445             upstream “**name**” memory exhausted (*UpstreamOutOfMemory*)
     1449            upstream “**name**” memory exhausted (*UpstreamOutOfMemory*),
     1450            reading request body failed *BodyReadError*)
    14461451          schema:
    14471452            $ref: '#/definitions/NginxError'
     
    15381543            invalid “*fail_timeout*” (*UpstreamBadFailTimeout*),
    15391544            invalid “*slow_start*” (*UpstreamBadSlowStart*),
     1545            reading request body failed *BodyReadError*),
    15401546            “*service*” is empty (*UpstreamBadService*),
    15411547            server “**ID**” address is immutable (*UpstreamServerImmutable*),
     
    16801686            key required (*KeyvalFormatError*),
    16811687            keyval timeout is not enabled (*KeyvalFormatError*),
    1682             only one key can be added (*KeyvalFormatError*)
     1688            only one key can be added (*KeyvalFormatError*),
     1689            reading request body failed *BodyReadError*)
    16831690          schema:
    16841691            $ref: '#/definitions/NginxError'
     
    17401747            key required (*KeyvalFormatError*),
    17411748            keyval timeout is not enabled (*KeyvalFormatError*),
    1742             only one key can be updated (*KeyvalFormatError*)
     1749            only one key can be updated (*KeyvalFormatError*),
     1750            reading request body failed *BodyReadError*)
    17431751          schema:
    17441752            $ref: '#/definitions/NginxError'
Note: See TracChangeset for help on using the changeset viewer.