1
0
Commit Graph

27 Commits

Author SHA256 Message Date
471114f33c Accepting request 923298 from home:schubi2
- Use libalternatives instead of update-alternatives.

OBS-URL: https://build.opensuse.org/request/show/923298
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=49
2021-11-06 10:28:18 +00:00
291a34a1f3 Accepting request 914584 from home:pgajdos:python
- version update to 2.0.0
  - Friendly Reminder
    This release still contains a variety of deprecation notices about defaults
    that can be set for a variety of options.
    Please note that this is your last warning, and you should update your
    configuration if you do NOT want to use the new defaults.
    See the arguments documentation page for all supported options, and pay
    attention to the warnings:
    https://docs.pylonsproject.org/projects/waitress/en/stable/arguments.html
  - Fix a crash on startup when listening to multiple interfaces.
    See https://github.com/Pylons/waitress/pull/332
  - Waitress no longer attempts to guess at what the ``server_name`` should be for
    a listen socket, instead it always use a new adjustment/argument named
    ``server_name``.
    Please see the documentation for ``server_name`` in
    https://docs.pylonsproject.org/projects/waitress/en/latest/arguments.html and
    see https://github.com/Pylons/waitress/pull/329
  - Allow tasks to notice if the client disconnected.
    This inserts a callable ``waitress.client_disconnected`` into the environment
    that allows the task to check if the client disconnected while waiting for
    the response at strategic points in the execution and to cancel the
    operation.
    It requires setting the new adjustment ``channel_request_lookahead`` to a value
    larger than 0, which continues to read requests from a channel even if a
    request is already being processed on that channel, up to the given count,
    since a client disconnect is detected by reading from a readable socket and
    receiving an empty result.
    See https://github.com/Pylons/waitress/pull/310
  - Drop Python 2.7 and 3.5 support
  - The server now issues warning output when it there are enough open

OBS-URL: https://build.opensuse.org/request/show/914584
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=48
2021-09-03 12:16:09 +00:00
892ccd9deb Accepting request 839249 from home:frispete:python
- Update to version 1.4.4 (2020-06-01)
  + Fix an issue with keep-alive connections in which memory usage
    was higher than expected because output buffers were being
    reused across requests on a long-lived connection and each
    buffer would not be freed until it was full or the connection
    was closed. Buffers are now rotated per-request to stabilize
    their behavior.
  + See https://github.com/Pylons/waitress/pull/300
  + Waitress threads have been updated to contain their thread
    number. This will allow loggers that use that information to
    print the thread that the log is coming from.
  + See https://github.com/Pylons/waitress/pull/302
- Switch to pytest, disable one test, that requires network
- Create _multibuild for doc package
  It requires installation of base package now

OBS-URL: https://build.opensuse.org/request/show/839249
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=46
2020-10-03 08:02:34 +00:00
Tomáš Chvátal
2980c5d9a7 Accepting request 815751 from home:jtomasiak:branches:devel:languages:python
- make sure UTF8 locale is used when runnning tests
  * Sometimes functional tests executed in python3 failed if stdout was not
    set to UTF-8. The error message was:
      ValueError: underlying buffer has been detached

OBS-URL: https://build.opensuse.org/request/show/815751
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=44
2020-06-19 06:33:26 +00:00
Tomáš Chvátal
5458ad9d6d Accepting request 806790 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/806790
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=42
2020-05-18 08:11:58 +00:00
Tomáš Chvátal
3fd53f8a61 Accepting request 770668 from home:mcalabkova:branches:devel:languages:python
- update to 1.4.3
  * Waitress did not properly validate that the HTTP headers it received 
    were properly formed, thereby potentially allowing a front-end server 
    to treat a request different from Waitress. This could lead to HTTP 
    request smuggling/splitting.
- drop patch local-intersphinx-inventories.patch
  * it was commented out, anyway

OBS-URL: https://build.opensuse.org/request/show/770668
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=40
2020-02-06 18:27:24 +00:00
0d71bd52b1 - update to 1.4.0:
- Waitress used to slam the door shut on HTTP pipelined requests without
  setting the ``Connection: close`` header as appropriate in the response. This
  is of course not very friendly. Waitress now explicitly sets the header when
  responding with an internally generated error such as 400 Bad Request or 500
  Internal Server Error to notify the remote client that it will be closing the
  connection after the response is sent.
  - Waitress no longer allows any spaces to exist between the header field-name
  and the colon. While waitress did not strip the space and thereby was not
  vulnerable to any potential header field-name confusion, it should have sent
  back a 400 Bad Request. See https://github.com/Pylons/waitress/issues/273
  - CRLR handling Security fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=38
2019-12-20 18:36:31 +00:00
Tomáš Chvátal
c25411bfa4 Accepting request 727021 from home:mcalabkova:branches:devel:languages:python
- update to 1.3.1
  * Waitress won’t accidentally throw away part of the path if it 
    starts with a double slash

OBS-URL: https://build.opensuse.org/request/show/727021
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=36
2019-08-30 00:48:54 +00:00
Tomáš Chvátal
9aa15051cf Accepting request 701044 from home:pgajdos
- version update to 1.3.0
  Deprecations
  ~~~~~~~~~~~~
  - The ``send_bytes`` adjustment now defaults to ``1`` and is deprecated
    pending removal in a future release.
    and https://github.com/Pylons/waitress/pull/246
  Features
  ~~~~~~~~
  - Add a new ``outbuf_high_watermark`` adjustment which is used to apply
    backpressure on the ``app_iter`` to avoid letting it spin faster than data
    can be written to the socket. This stabilizes responses that iterate quickly
    with a lot of data.
    See https://github.com/Pylons/waitress/pull/242
  - Stop early and close the ``app_iter`` when attempting to write to a closed
    socket due to a client disconnect. This should notify a long-lived streaming
    response when a client hangs up.
    See https://github.com/Pylons/waitress/pull/238
    and https://github.com/Pylons/waitress/pull/240
    and https://github.com/Pylons/waitress/pull/241
  - Adjust the flush to output ``SO_SNDBUF`` bytes instead of whatever was
    set in the ``send_bytes`` adjustment. ``send_bytes`` now only controls how
    much waitress will buffer internally before flushing to the kernel, whereas
    previously it used to also throttle how much data was sent to the kernel.
    This change enables a streaming ``app_iter`` containing small chunks to
    still be flushed efficiently.
    See https://github.com/Pylons/waitress/pull/246
  Bugfixes
  ~~~~~~~~
  - Upon receiving a request that does not include HTTP/1.0 or HTTP/1.1 we will
    no longer set the version to the string value "None". See

OBS-URL: https://build.opensuse.org/request/show/701044
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=34
2019-05-06 11:11:30 +00:00
4802061155 Accepting request 687030 from home:jengelh:branches:devel:languages:python
- Trim marketing wording and other platform mentions.

OBS-URL: https://build.opensuse.org/request/show/687030
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=32
2019-03-21 07:06:30 +00:00
Tomáš Chvátal
d9640d1c60 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=30 2019-02-26 09:05:29 +00:00
Tomáš Chvátal
8539c955c7 Accepting request 679186 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/679186
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=29
2019-02-26 09:04:29 +00:00
Tomáš Chvátal
8f5013c612 - Use url normaly to fetch python inventories without any shellscript
magic

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=28
2019-02-26 08:57:17 +00:00
2aa94981ca Accepting request 672508 from home:frispete:python
- update to version 1.2.1:
  too many changes to list here, see:
  https://github.com/Pylons/waitress/blob/master/CHANGES.txt
  or even:
  https://github.com/Pylons/waitress/commits/master

OBS-URL: https://build.opensuse.org/request/show/672508
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=26
2019-02-11 11:59:55 +00:00
9af7d9789a Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=24
2018-12-04 17:25:22 +00:00
da6ce7d6ee Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=23
2018-12-04 14:13:20 +00:00
bd057c9f51 Accepting request 533778 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/533778
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=21
2017-10-17 10:06:16 +00:00
Todd R
b05cbc7b1e Accepting request 492325 from home:TheBlackCat:branches:devel:languages:python
- Update to 1.0.2
- Implement single-spec version.
- Fix source URL.

OBS-URL: https://build.opensuse.org/request/show/492325
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=19
2017-05-06 12:20:37 +00:00
3ce770c533 Accepting request 440410 from home:tbechtold:branches:devel:languages:python
- update to 1.0.1:
  - IPv6 support on Windows was broken due to missing constants in the socket
    module. This has been resolved by setting the constants on Windows if they
    are missing. See https://github.com/Pylons/waitress/issues/138
  - A ValueError was raised on Windows when passing a string for the port, on
    Windows in Python 2 using service names instead of port numbers doesn't work
    with `getaddrinfo`. This has been resolved by attempting to convert the port
    number to an integer, if that fails a ValueError will be raised. See
    https://github.com/Pylons/waitress/issues/139
  - Removed `AI_ADDRCONFIG` from the call to `getaddrinfo`, this resolves an
    issue whereby `getaddrinfo` wouldn't return any addresses to `bind` to on
    hosts where there is no internet connection but localhost is requested to be
    bound to. See https://github.com/Pylons/waitress/issues/131 for more
    information.
- disable tests. need network access.

OBS-URL: https://build.opensuse.org/request/show/440410
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=17
2016-11-15 22:04:30 +00:00
a11d936bfe - update to 0.9.0:
* Security/Protections
    - Building on the changes made in pull request 117, add in checking for line
      feed/carriage return HTTP Response Splitting in the status line, as well as
      the key of a header. See https://github.com/Pylons/waitress/pull/124 and
      https://github.com/Pylons/waitress/issues/122.
    - Waitress will no longer accept headers or status lines with
      newline/carriage returns in them, thereby disallowing HTTP Response
      Splitting.
  * Bugfixes
    - FileBasedBuffer and more important ReadOnlyFileBasedBuffer no longer report
      False when tested with bool(), instead always returning True, and becoming
      more iterator like.
    - Call prune() on the output buffer at the end of a request so that it doesn't
      continue to grow without bounds.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=15
2016-05-20 11:30:01 +00:00
Denisart Benjamin
d251c20f04 Accepting request 265050 from home:tbechtold:branches:devel:languages:python
New upstream release

OBS-URL: https://build.opensuse.org/request/show/265050
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=13
2014-12-13 12:43:31 +00:00
Sascha Peilicke
a25969a264 Accepting request 198597 from home:dirkmueller:branches:devel:languages:python
- update to 0.8.7:
  - The HTTP version of the response returned by waitress when it catches an
  exception will now match the HTTP request version.
  - Fix: CONNECTION header will be HTTP_CONNECTION and not CONNECTION_TYPE
  (see https://github.com/Pylons/waitress/issues/13)

OBS-URL: https://build.opensuse.org/request/show/198597
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=11
2013-09-13 09:46:30 +00:00
Sascha Peilicke
1bd76d72fd Accepting request 186925 from home:dirkmueller:branches:devel:languages:python
- update to 0.8.6:
 - Do alternate type of checking for UNIX socket support, instead of checking
   for platform == windows.
 
 - Functional tests now use multiprocessing module instead of subprocess module,
   speeding up test suite and making concurrent execution more reliable.
 
 - Runner now appends the current working directory to ``sys.path`` to support
   running WSGI applications from a directory (i.e., not installed in a
   virtualenv).

OBS-URL: https://build.opensuse.org/request/show/186925
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=8
2013-08-13 11:04:44 +00:00
Sascha Peilicke
c11a7084a4 Accepting request 180848 from home:dirkmueller:branches:devel:languages:python
- update to 0.8.5:
 - Fix runner multisegment imports in some Python 2 revisions (see
   https://github.com/Pylons/waitress/pull/34).
 - For compatibility, WSGIServer is now an alias of TcpWSGIServer. The
   signature of BaseWSGIServer is now compatible with WSGIServer pre-0.8.4.
 - Add a command-line runner called ``waitress-serve`` to allow Waitress
   to run WSGI applications without any addional machinery. This is
   essentially a thin wrapper around the ``waitress.serve()`` function.
 - Allow parallel testing (e.g., under ``detox`` or ``nosetests --processes``)
   using PID-dependent port / socket for functest servers.
 - Fix integer overflow errors on large buffers. Thanks to Marcin Kuzminski
   for the patch.  See: https://github.com/Pylons/waitress/issues/22
 - Add support for listening on Unix domain sockets.

OBS-URL: https://build.opensuse.org/request/show/180848
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=6
2013-06-25 11:52:53 +00:00
Sascha Peilicke
d54e85315f - Fix license string
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=4
2013-05-02 12:47:20 +00:00
Sascha Peilicke
8c88c70cd6 - Reduce buildrequires as long as the testsuite and doc build isn't fixed
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=2
2013-04-29 14:11:59 +00:00
Sascha Peilicke
e9e2212cdf Accepting request 173795 from home:dirkmueller:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/173795
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=1
2013-04-29 14:06:16 +00:00