pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kore: update to 3.3.0.



Module Name:	pkgsrc-wip
Committed By:	Frederic Cambus <fred%statdns.com@localhost>
Pushed By:	fcambus
Date:		Thu May 16 20:48:33 2019 +0200
Changeset:	f6e31cfcdbe928a0f71b4808c130b990eef7d941

Modified Files:
	kore/Makefile
	kore/PLIST
	kore/distinfo

Log Message:
kore: update to 3.3.0.

ChangeLog:

This release improves the Python async/await support and introduces
an asynchronous libcurl interface.

New asynchronous libcurl API
----------------------------

This release introduces the asynchronous libcurl API. This API provides
a way for you as a developer to schedule CURL easy handles onto the Kore
event loop and execute them asynchronously.

This means that making HTTP requests, FTP file transfers, IMAP inbox
listing and more can all be done from your HTTP page handler,
asynchronously. If libcurl supports it, you can run it in Kore.

Please see the documentation for more details or refer to the async-curl
code for an example.

HTTP/net improvements
---------------------

Several improvements were made to the HTTP code for this release.

- Added configurable timeout for receiving HTTP headers before
  disconnecting a client.
- Added configurable timeout for receiving the HTTP body before
  disconnecting a client.
- Fixed a bug where on links with smaller MTU values a TLS handshake
  could get stuck.

Python improvements
-------------------

A lot of async/await improvements and a new httpclient based on the
asynchronous libcurl API.

- Validators can now be coroutines.
- Allow quoted arguments to be passed to kore.proc.
- Added a new asynchronous kore.httpclient interface.
- Resumed coroutines are now scheduled immediately.
- Coroutines coming out of a suspend now resume faster.
- The kore.queue interface can now have multiple consumers.
- The import configuration option can now import modules.
- The recv/recvfrom can now take an optional timeout value.
- The kore.gather method now takes a concurrency keyword.
- Large speed improvements for the asynchronous sockets interface.
- Support AF_UNIX and abstract sockets on Linux in the asynchronous
  sockets interface.
- The req.response method now allows an iterator to be passed (eg:
  TemplateStream from Jinja2).
- The req.pgsql method now always does parameterized queries and
  deals with text/binary better.

Other improvements
------------------

Other improvements that were made in this release.

- Added a quiet flag (-q).
- Removed several stale examples.
- Kore now changes its process title on Linux/MacOS.
- Added a new configuration option: worker_death_policy.
- Added kore_pgsql_column_binary() to the PostgreSQL API.
- Better error messages when a Kore configuration contains errors.
- Worker processes now send each other messages about who has the
  accept lock.
- Worker processes no longer busy loop every 100ms but will block
  if there is no work.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f6e31cfcdbe928a0f71b4808c130b990eef7d941

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 kore/Makefile | 2 +-
 kore/PLIST    | 1 +
 kore/distinfo | 8 ++++----
 3 files changed, 6 insertions(+), 5 deletions(-)

diffs:
diff --git a/kore/Makefile b/kore/Makefile
index 8fb82abb78..2d368582bf 100644
--- a/kore/Makefile
+++ b/kore/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	kore-3.2.2
+DISTNAME=	kore-3.3.0
 CATEGORIES=	www
 MASTER_SITES=	https://kore.io/releases/
 
diff --git a/kore/PLIST b/kore/PLIST
index 17ec62a8b8..728424f103 100644
--- a/kore/PLIST
+++ b/kore/PLIST
@@ -1,6 +1,7 @@
 @comment $NetBSD$
 bin/kodev
 bin/kore
+include/kore/curl.h
 include/kore/http.h
 include/kore/jsonrpc.h
 include/kore/kore.h
diff --git a/kore/distinfo b/kore/distinfo
index 3e645c7b02..84219532a8 100644
--- a/kore/distinfo
+++ b/kore/distinfo
@@ -1,8 +1,8 @@
 $NetBSD$
 
-SHA1 (kore-3.2.2.tar.gz) = fbe938c5617cdacc22410320e619fe1083ada3a8
-RMD160 (kore-3.2.2.tar.gz) = 9f84c590fd9b8345b467383677d2906b377048ca
-SHA512 (kore-3.2.2.tar.gz) = c1c8d16a694c25b55e4a8bc82d0fbc9f3477bcfd9ffe5b3f6e420ba51afebb2b9ff7e974d7e0088195ba88c8f54f5d0fb6a0beaf9c9dfb91a1b2e339e69c50bb
-Size (kore-3.2.2.tar.gz) = 1000711 bytes
+SHA1 (kore-3.3.0.tar.gz) = 42d2f55ad2d200ca5b11f9120175222b68ffb174
+RMD160 (kore-3.3.0.tar.gz) = 79559a1952db0cd6678bde4d0ca6b16ad645604c
+SHA512 (kore-3.3.0.tar.gz) = 817244a6f32360a1f6b73806c06ac4fd32f58fa98a58ae2b18df8306181b99d71a2092b1706c75a7d622ba342ee04675589a5bcaa254eb29f7ce9d4941fad1b3
+Size (kore-3.3.0.tar.gz) = 1009304 bytes
 SHA1 (patch-Makefile) = aff05cd0cce01cbb63481b3b4229f165e06765f1
 SHA1 (patch-kodev_Makefile) = 74aadccd5db6fb739242a9356538fd63a9eaebf0


Home | Main Index | Thread Index | Old Index