Mercurial > hg > nginx-quic
view docs/dtd/module.dtd @ 4115:70a45a504905
Workaround for cpu hog on errors with cached connections.
Just doing another connect isn't safe as peer.get() may expect peer.tries
to be strictly positive (this is the case e.g. with round robin with multiple
upstream servers). Increment peer.tries to at least avoid cpu hog in
round robin balancer (with the patch alert will be seen instead).
This is not enough to fully address the problem though, hence TODO. We
should be able to inform balancer that the error wasn't considered fatal
and it may make sense to retry the same peer.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 15 Sep 2011 18:12:58 +0000 |
parents | 5e2103cffd80 |
children |
line wrap: on
line source
<!ELEMENT module (section+) > <!ATTLIST module name CDATA #REQUIRED id ID #REQUIRED > <!ELEMENT section (directive | para)+ > <!ATTLIST section name CDATA #REQUIRED id ID #IMPLIED > <!ELEMENT directive (syntax+, default, context+, para+) > <!ATTLIST directive name ID #REQUIRED appeared-in CDATA #IMPLIED > <!ELEMENT syntax (#PCDATA | argument | code | parameter | value)* > <!ELEMENT default (#PCDATA | code)* > <!ELEMENT context (#PCDATA)* > <!ELEMENT para (#PCDATA | argument | c-def | c-func | code | command | dq | emphasis | example | header | http-status | link | list | note | parameter | pathname | value | var)* > <!ELEMENT argument (#PCDATA)* > <!ELEMENT c-def (#PCDATA)* > <!ELEMENT c-func (#PCDATA)* > <!ELEMENT code (#PCDATA | value)* > <!ELEMENT command (#PCDATA)* > <!ELEMENT dq ANY > <!ELEMENT emphasis (#PCDATA)* > <!ELEMENT example (#PCDATA)* > <!ELEMENT header (#PCDATA | argument)* > <!ELEMENT http-status EMPTY > <!ATTLIST http-status code CDATA #REQUIRED text CDATA #IMPLIED > <!ELEMENT link (#PCDATA)* > <!ATTLIST link doc CDATA #IMPLIED id CDATA #IMPLIED url CDATA #IMPLIED > <!ELEMENT list (listitem+ | (tag-name | tag-desc)+) > <!ATTLIST list type (bullet | enum | tag) #REQUIRED > <!ELEMENT listitem ANY > <!ELEMENT tag-name ANY > <!ELEMENT tag-desc ANY > <!ELEMENT note ANY > <!ELEMENT parameter (#PCDATA)* > <!ELEMENT pathname (#PCDATA)* > <!ELEMENT value (#PCDATA)* > <!ELEMENT var (#PCDATA)* > <!ENTITY nbsp " " > <!ENTITY mdash " - " > <!ENTITY lsquo "‘"> <!ENTITY rsquo "’"> <!ENTITY ldquo "“"> <!ENTITY rdquo "”">