./www/py-scgi, Simple Common Gateway Interface

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.2, Package name: py312-scgi-2.2, Maintainer: manu

The SCGI protocol is a replacement for the Common Gateway Interface
(CGI) protocol. It is a standard for applications to interface with
HTTP servers. It is similar to FastCGI but is designed to be easier
to implement.


Required to run:
[devel/py-quixote] [lang/python27]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 34.23 KB

Version history: (Expand)


CVS history: (Expand)


   2025-02-06 14:49:19 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-scgi: updated to 2.2

2.2.

Add the SCGI protocol document.

Make scgi_server reap_children() more robust.

It is possible that a child has already been removed from the list of
children so handle that case gracefully.  Change the session_server
reap_children() to check if self.children is non-empty, for small
efficiency gain and to match the scgi_server version.

v2.1

Use setuptools.

Modernize setup.py, add dist.sh script.

v2.0

Modernize setup.py, add dist.sh script.

Limit retries in delegate_request().

If we continuously fail to pass a request to a child, give up after a
certain number of attempts (30).  Otherwise, delegate_request() will
never return.  If this happens, something is seriously wrong with the
SCGI application but it seems slightly better to start dropping incoming
requests in that case rather than never making progress.

Improve exception handling in Child.process().

Since Python 3.5, EINTR is no longer returned to user code.  So, remove
handling of it.  In Python 3, socket.error is OSError.  So, use OSError
directly rather than socket.error.

If an exception occurs inside Child.process(), close the connection to
the child.  That will cause the child to exit and be reaped.  The
previous behavior of raising an exception from process() could cause the
master SCGI process to exit in some cases.  We want to avoid that.
   2022-01-22 15:17:46 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-scgi: fix PLIST
   2022-01-10 23:46:42 by Thomas Klausner | Files touched by this commit (2)
Log message:
py-scgi: convert to egg.mk
   2021-10-26 13:31:15 by Nia Alarie | Files touched by this commit (1030)
Log message:
www: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Not committed (merge conflicts):
www/nghttp2/distinfo

Unfetchable distfiles (almost certainly fetched conditionally...):
./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx-devel/distinfo naxsi-1.3.tar.gz
./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx-devel/distinfo njs-0.5.0.tar.gz
./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz
./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx/distinfo naxsi-1.3.tar.gz
./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx/distinfo njs-0.5.0.tar.gz
./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz
   2021-10-07 17:09:00 by Nia Alarie | Files touched by this commit (1033)
Log message:
www: Remove SHA1 hashes for distfiles
   2020-01-26 18:32:28 by Roland Illig | Files touched by this commit (981)
Log message:
all: migrate homepages from http to https

pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
   2019-11-04 23:10:16 by Roland Illig | Files touched by this commit (243)
Log message:
www: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

Manually excluded phraseanet since pkglint got the indentation wrong.
   2019-09-02 15:20:22 by Adam Ciarcinski | Files touched by this commit (415)
Log message:
Changed PYTHON_VERSIONS_INCOMPATIBLE to PYTHON_VERSIONS_ACCEPTED; needed for \ 
future Python 3.8