Cutelyst 2.9.0 and simple-mail-qt 1.4.0 released!

Today I’m rolling out two releases, Cutelyst, which is a Qt Web Framework and SimpleMailQt which is a SMTP client library.

Cutelyst has got many bug fixes, a few API additions, some docs fixes, and most importantly it fixed a memory leak introduced in 2.8.0 that makes applications using chained actions leak.

I was planning for a v3 due some changes I was planning but changed my mind and I think the current version can be kept for a little longer, my current plan is to add SNI support for the WSGI module so that a sort of Virtual Hosts is possiblem.

The ideia for Virtual Hosts is that you can get rid of Nginx (or any front end server) if you want and can, the front servers are great, but they do a work that could be avoided. When a request arives the server it has to parse, identify to which application it has to redispatch and create a new request (in HTTP/FastCGI/whatever), on single core servers the OS will put it to sleep, wake cutelyst, which then parses the request again, creates a reply, which is then parsed by the front and recreated for the client.

Of course they are fast and all, but surely if it could be avoided would be great, on an IPv6 only world I’d just put a different IP for each application and be done, but not the reality now do I’ll try to see if a new Cutelyst application could load all your applications in a single process. It’s just an idea atm.

SimpleMailQt also got quite a few bug fixes, most importantly it got it’s CMake modernized so it builds fine on Windows now.

For those that don’t know SimpleMailQt, it was based on a SmptClientForQt with a port to CMake and many API changes to be more Qt style. But it’s a blocking library which also doesn’t do pipelining, so for v2 I’ll be creating a new async engine that will be async and do pipelining if the server supports.

Have fun:

https://github.com/cutelyst/cutelyst/releases/tag/v2.9.0

https://github.com/cutelyst/simple-mail/releases/tag/v1.4.0

Cutelyst 2.9.0 and simple-mail-qt 1.4.0 released!

2 thoughts on “Cutelyst 2.9.0 and simple-mail-qt 1.4.0 released!

Leave a comment