:orphan:

.. index:: pair: struct; nginx_http_upstream
.. _doxid-structnginx__http__upstream:

struct nginx_http_upstream
==========================

.. toctree::
	:hidden:

Overview
~~~~~~~~

HTTP upstream servers group :ref:`More...<details-structnginx__http__upstream>`


.. ref-code-block:: cpp
	:class: doxyrest-overview-code-block

	#include <conf_nginx.h>
	
	struct nginx_http_upstream {
		// fields
	
		char* :ref:`name<doxid-structnginx__http__upstream_1afec47459ca94ffc4fab4070aed508259>`;
		unsigned int :ref:`keepalive_num<doxid-structnginx__http__upstream_1aac21320c5ac30dbadd4a2b0085dd6f8f>`;

		// methods
	
		:ref:`LIST_ENTRY<doxid-structnginx__http__upstream_1a7ec03e34f8a689843211a6bd049f5ca4>`(nginx_http_upstream);
		:ref:`LIST_HEAD<doxid-structnginx__http__upstream_1ad4b535eac530dfd432a0bdc1c389eebe>`(:ref:`nginx_http_us_server<doxid-structnginx__http__us__server>`);
	};
.. _details-structnginx__http__upstream:

Detailed Documentation
~~~~~~~~~~~~~~~~~~~~~~

HTTP upstream servers group

Fields
------

.. index:: pair: variable; name
.. _doxid-structnginx__http__upstream_1afec47459ca94ffc4fab4070aed508259:

.. ref-code-block:: cpp
	:class: doxyrest-title-code-block

	char* name

Name of upstream group

.. index:: pair: variable; keepalive_num
.. _doxid-structnginx__http__upstream_1aac21320c5ac30dbadd4a2b0085dd6f8f:

.. ref-code-block:: cpp
	:class: doxyrest-title-code-block

	unsigned int keepalive_num

Maximum number of idle keepalive connections

Methods
-------

.. index:: pair: function; LIST_ENTRY
.. _doxid-structnginx__http__upstream_1a7ec03e34f8a689843211a6bd049f5ca4:

.. ref-code-block:: cpp
	:class: doxyrest-title-code-block

	LIST_ENTRY(nginx_http_upstream)

Linked list of groups

.. index:: pair: function; LIST_HEAD
.. _doxid-structnginx__http__upstream_1ad4b535eac530dfd432a0bdc1c389eebe:

.. ref-code-block:: cpp
	:class: doxyrest-title-code-block

	LIST_HEAD(:ref:`nginx_http_us_server<doxid-structnginx__http__us__server>`)

Upstream servers