Changeset 1936:8f996938fe23 in nginx_org


Ignore:
Timestamp:
03/16/17 12:53:24 (5 months ago)
Author:
Vladimir Homutov <vl@…>
Branch:
default
Message:

Style: proper quotes usage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xml/en/docs/dev/development_guide.xml

    r1935 r1936  
    791791v = ngx_list_push(list);
    792792if (v == NULL) { /* error */ }
    793 ngx_str_set(v, “foo”);
     793ngx_str_set(v, "foo");
    794794
    795795v = ngx_list_push(list);
    796796if (v == NULL) { /* error */ }
    797 ngx_str_set(v, “bar”);
     797ngx_str_set(v, "bar");
    798798
    799799/* iterate over the list */
     
    915915f = ngx_palloc(pool, sizeof(ngx_foo_t));
    916916if (f == NULL) { /* error */ }
    917 ngx_str_set(&amp;f->value, “foo”);
     917ngx_str_set(&amp;f->value, "foo");
    918918
    919919ngx_queue_insert_tail(&amp;values, f);
     
    13681368s = ngx_palloc(pool, sizeof(ngx_str_t));
    13691369if (s == NULL) { /* error */ }
    1370 ngx_str_set(s, “foo”);
     1370ngx_str_set(s, "foo");
    13711371
    13721372p = ngx_pnalloc(pool, 3);
    13731373if (p == NULL) { /* error */ }
    1374 ngx_memcpy(p, “foo”, 3);
     1374ngx_memcpy(p, "foo", 3);
    13751375</programlisting>
    13761376
     
    14131413
    14141414cln->handler = ngx_my_cleanup;
    1415 cln->data = “foo”;
     1415cln->data = "foo";
    14161416
    14171417...
     
    18221822It's used to locate the configuration file and inherit as much resources as
    18231823possible from the old cycle to keep nginx running smoothly.
    1824 When nginx starts, a fake cycle called "init cycle" is created and is then
     1824When nginx starts, a fake cycle called “init cycle” is created and is then
    18251825replaced by a normal cycle, built from configuration.
    18261826</para>
     
    19041904path loader — executed only once in 60 seconds after starting or reloading
    19051905nginx. Normally, reads the directory and stores data in nginx shared
    1906 memory. The handler is called from a dedicated nginx process "nginx
    1907 cache loader"
     1906memory. The handler is called from a dedicated nginx process nginx
     1907cache loader
    19081908</listitem>
    19091909
     
    19111911path manager — executed periodically. Normally, removes old files from the
    19121912directory and reflects these changes in nginx memory. The handler is
    1913 called from a dedicated nginx process "nginx cache manager"
     1913called from a dedicated nginx process “nginx cache manager”
    19141914</listitem>
    19151915
     
    26932693Master process starts a new nginx binary and passes there a list of all listen
    26942694sockets.
    2695 The list is passed in the environment variable <literal>"NGINX"</literal> in
     2695The list is passed in the environment variable <literal>“NGINX”</literal> in
    26962696text format, where descriptor numbers separated with semicolons.
    26972697A new nginx instance reads that variable and adds the sockets to its init
     
    36043604<listitem>
    36053605<literal>http_protocol, http_version, http_major, http_minor</literal> -
    3606 client HTTP protocol version in its original textual form ("HTTP/1.0",
    3607 "HTTP/1.1" etc), numeric form (<literal>NGX_HTTP_VERSION_10</literal>,
     3606client HTTP protocol version in its original textual form (“HTTP/1.0”,
     3607“HTTP/1.1” etc), numeric form (<literal>NGX_HTTP_VERSION_10</literal>,
    36083608<literal>NGX_HTTP_VERSION_11</literal> etc) and separate major and minor
    36093609versions
Note: See TracChangeset for help on using the changeset viewer.