Re: [Development] Repository request: HTTP server

2018-08-02 Thread Edward Welbourne
On 10/06/2017 07:10 AM, Fredrik de Vibe wrote:
>> We have recently been working on a research project looking into the 
>> possibilities for creating a lightweight server component that can easily 
>> enable Qt applications to serve over HTTP. We would like to make this work 
>> public and therefore request a repository.
>>
>> This work is intended to continue as a research project, to explore 
>> alternatives and reveal areas that need work, so it should be under qt-labs.
>>
>> Name of the project: Qt HTTP Server
>> Responsible person: Fredrik de Vibe
>> Gerrit user/email: fredrik.dev...@qt.io
>> Desired repository name: qthttpserver

Adam Treat (2 August 2018 17:02)
> What came of this?

Good question.
It's currently on qt-labs, see
https://codereview.qt-project.org/#/q/project:qt-labs/qthttpserver,n,z
for recent reviews.

Eddy.
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Repository request: HTTP server

2018-08-02 Thread Adam Treat

What came of this?

On 10/06/2017 07:10 AM, Fredrik de Vibe wrote:

Hi all,

We have recently been working on a research project looking into the 
possibilities for creating a lightweight server component that can easily 
enable Qt applications to serve over HTTP. We would like to make this work 
public and therefore request a repository.

This work is intended to continue as a research project, to explore 
alternatives and reveal areas that need work, so it should be under qt-labs.


Name of the project: Qt HTTP Server
Responsible person: Fredrik de Vibe
Gerrit user/email: fredrik.dev...@qt.io
Desired repository name: qthttpserver




___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Repository request: HTTP server

2017-10-08 Thread Chris Adams
On Sat, Oct 7, 2017 at 2:21 AM, Harri Porten  wrote:
>
> On Fri, 6 Oct 2017, Tomaz Canabrava wrote:
>
>>   > We have recently been working on a research project looking into
>> the possibilities for creating a lightweight server component that can
>> easily enable Qt
>>   applications to serve over HTTP. We would like to make this work
>> public and therefore request a repository.
>>   >
>>   > This work is intended to continue as a research project, to
>> explore alternatives and reveal areas that need work, so it should be under
>> qt-labs.
>>
>>
>> This is not something similar to what Tufao and Cutelyst are? Perhaps it
>> would be nice to talk to them and see if they can share code.
>>
>> https://cutelyst.org/
>> https://github.com/vinipsmaker/tufao
>
>
> I'll add a 3rd alternative which are have to started to use for a new
> product:
>
>  http://www.treefrogframework.org

And a fourth alternative: https://github.com/nitroshare/qhttpengine
which is MIT licensed.

I guess the more interesting questions which this research project
needs to answer are things like: what changes in qtbase are needed to
allow this to be used in secure production code (e.g., Thiago
mentioned that QTcpSocket is fully-buffered with unlimited buffer
sizes, which seems a recipe for disaster in certain circumstances).
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Repository request: HTTP server

2017-10-06 Thread Konstantin Tokarev


06.10.2017, 20:12, "Jason H" :
>>  Hi all,
>>
>>  We have recently been working on a research project looking into the 
>> possibilities for creating a lightweight server component that can easily 
>> enable Qt applications to serve over HTTP. We would like to make this work 
>> public and therefore request a repository.
>>
>>  This work is intended to continue as a research project, to explore 
>> alternatives and reveal areas that need work, so it should be under qt-labs.
>>
>>  Name of the project: Qt HTTP Server
>>  Responsible person: Fredrik de Vibe
>>  Gerrit user/email: fredrik.dev...@qt.io
>>  Desired repository name: qthttpserver
>
> About time :-) I wrote my first HTTP/S server in Qt 10 years ago!
>
> Now, I wonder what is the purpose of this http server?

Purpose of HTTP server is to handle requests from clients by HTTP protocol and 
send replies according to some business logic. It may also include built-in 
capability of serving static files.

> Surely, not serving PHP!?

That would be application server, for running PHP application in this case.

>
> Perhaps making it easy to serve a RESTful QObject-based hierarchy?

That would be some web framework then, not mere HTTP server

>
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development

-- 
Regards,
Konstantin
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Repository request: HTTP server

2017-10-06 Thread Jason H
> Hi all,
> 
> We have recently been working on a research project looking into the 
> possibilities for creating a lightweight server component that can easily 
> enable Qt applications to serve over HTTP. We would like to make this work 
> public and therefore request a repository.
> 
> This work is intended to continue as a research project, to explore 
> alternatives and reveal areas that need work, so it should be under qt-labs.  
> 
> 
> Name of the project: Qt HTTP Server
> Responsible person: Fredrik de Vibe
> Gerrit user/email: fredrik.dev...@qt.io
> Desired repository name: qthttpserver

About time :-) I wrote my first HTTP/S server in Qt 10 years ago!

Now, I wonder what is the purpose of this http server? Surely, not serving PHP!?

Perhaps making it easy to serve a RESTful QObject-based hierarchy?

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Repository request: HTTP server

2017-10-06 Thread Richard Moore
There are also some http servers that I've written. I think requirements
should include:

- Extensible
- Easy to support SSL/TLS
- Support for client certs

I think we talked about some of this at least years network summit...

Cheers

Rich.

On 6 October 2017 at 17:21, Harri Porten  wrote:

>
> On Fri, 6 Oct 2017, Tomaz Canabrava wrote:
>
>   > We have recently been working on a research project looking into
>> the possibilities for creating a lightweight server component that can
>> easily enable Qt
>>   applications to serve over HTTP. We would like to make this work
>> public and therefore request a repository.
>>   >
>>   > This work is intended to continue as a research project, to
>> explore alternatives and reveal areas that need work, so it should be under
>> qt-labs.
>>
>>
>> This is not something similar to what Tufao and Cutelyst are? Perhaps it
>> would be nice to talk to them and see if they can share code.
>>
>> https://cutelyst.org/
>> https://github.com/vinipsmaker/tufao
>>
>
> I'll add a 3rd alternative which are have to started to use for a new
> product:
>
>  http://www.treefrogframework.org
>
> Within open source projects- which are often created for the fun of
> creating something - "work together" proposals don't go anywhere however :)
>
> Harri.
>
>
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Repository request: HTTP server

2017-10-06 Thread Harri Porten


On Fri, 6 Oct 2017, Tomaz Canabrava wrote:


  > We have recently been working on a research project looking into the 
possibilities for creating a lightweight server component that can easily enable Qt
  applications to serve over HTTP. We would like to make this work public 
and therefore request a repository.
  >
  > This work is intended to continue as a research project, to explore 
alternatives and reveal areas that need work, so it should be under qt-labs.


This is not something similar to what Tufao and Cutelyst are? Perhaps it would 
be nice to talk to them and see if they can share code.

https://cutelyst.org/
https://github.com/vinipsmaker/tufao


I'll add a 3rd alternative which are have to started to use for a new 
product:


 http://www.treefrogframework.org

Within open source projects- which are often created for the fun of 
creating something - "work together" proposals don't go anywhere however 
:)


Harri.

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Repository request: HTTP server

2017-10-06 Thread Fredrik de Vibe
> On 6 Oct 2017, at 14:48, Lars Knoll  wrote:
> 
> Hi Fredrik,
> 
> +1 for this one as well. Are you going to be the maintainer for the module, 
> or is it going to be someone else?

Thanks, Lars. No, I am not going to be the maintainer, this is somewhat 
undecided yet. I am merely a placeholder until we get this sorted out.


Cheers,
- Fredrik -

> Cheers,
> Lars
> 
>> On 6 Oct 2017, at 13:10, Fredrik de Vibe  wrote:
>> 
>> Hi all,
>> 
>> We have recently been working on a research project looking into the 
>> possibilities for creating a lightweight server component that can easily 
>> enable Qt applications to serve over HTTP. We would like to make this work 
>> public and therefore request a repository.
>> 
>> This work is intended to continue as a research project, to explore 
>> alternatives and reveal areas that need work, so it should be under qt-labs. 
>> 
>> 
>> Name of the project: Qt HTTP Server
>> Responsible person: Fredrik de Vibe
>> Gerrit user/email: fredrik.dev...@qt.io
>> Desired repository name: qthttpserver
>> 
>> 
>> -- 
>> Fredrik de Vibe
>> Senior Manager, Qt Core and Network
>> 
>> The Qt Company
>> Sandakerveien 116
>> 0484 Oslo, Norway
>> fredrik.dev...@qt.io
>> http://qt.io/
>> 
>> 
>> 
>> ___
>> Development mailing list
>> Development@qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/development
> 

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Repository request: HTTP server

2017-10-06 Thread Tomaz Canabrava
On Fri, Oct 6, 2017 at 2:48 PM, Lars Knoll  wrote:

> Hi Fredrik,
>
> +1 for this one as well. Are you going to be the maintainer for the
> module, or is it going to be someone else?
>
> Cheers,
> Lars
>
> > On 6 Oct 2017, at 13:10, Fredrik de Vibe  wrote:
> >
> > Hi all,
> >
> > We have recently been working on a research project looking into the
> possibilities for creating a lightweight server component that can easily
> enable Qt applications to serve over HTTP. We would like to make this work
> public and therefore request a repository.
> >
> > This work is intended to continue as a research project, to explore
> alternatives and reveal areas that need work, so it should be under qt-labs.
>

This is not something similar to what Tufao and Cutelyst are? Perhaps it
would be nice to talk to them and see if they can share code.

https://cutelyst.org/
https://github.com/vinipsmaker/tufao

>
> > Name of the project: Qt HTTP Server
> > Responsible person: Fredrik de Vibe
> > Gerrit user/email: fredrik.dev...@qt.io
> > Desired repository name: qthttpserver
> >
> >
> > --
> > Fredrik de Vibe
> > Senior Manager, Qt Core and Network
> >
> > The Qt Company
> > Sandakerveien 116
> > 0484 Oslo, Norway
> > fredrik.dev...@qt.io
> > http://qt.io/
> >
> >
> >
> > ___
> > Development mailing list
> > Development@qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/development
>
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Repository request: HTTP server

2017-10-06 Thread Lars Knoll
Hi Fredrik,

+1 for this one as well. Are you going to be the maintainer for the module, or 
is it going to be someone else?

Cheers,
Lars

> On 6 Oct 2017, at 13:10, Fredrik de Vibe  wrote:
> 
> Hi all,
> 
> We have recently been working on a research project looking into the 
> possibilities for creating a lightweight server component that can easily 
> enable Qt applications to serve over HTTP. We would like to make this work 
> public and therefore request a repository.
> 
> This work is intended to continue as a research project, to explore 
> alternatives and reveal areas that need work, so it should be under qt-labs.  
> 
> 
> Name of the project: Qt HTTP Server
> Responsible person: Fredrik de Vibe
> Gerrit user/email: fredrik.dev...@qt.io
> Desired repository name: qthttpserver
> 
> 
> -- 
> Fredrik de Vibe
> Senior Manager, Qt Core and Network
> 
> The Qt Company
> Sandakerveien 116
> 0484 Oslo, Norway
> fredrik.dev...@qt.io
> http://qt.io/
> 
> 
> 
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Repository request: HTTP server

2017-10-06 Thread Yuri Alexandrov
Hi

If you need any help I’ll be happy to join if possible as I also doing very 
similar thing, including dynamic invocations module, using JSON, to get a light 
weighted and easy to use appserver.

Regards,
Yuri

Sent from Mail for Windows 10

From: Fredrik de Vibe
Sent: Friday, October 6, 2017 2:10 PM
To: Qt Project Development Mailing-List
Subject: [Development] Repository request: HTTP server

Hi all,

We have recently been working on a research project looking into the 
possibilities for creating a lightweight server component that can easily 
enable Qt applications to serve over HTTP. We would like to make this work 
public and therefore request a repository.

This work is intended to continue as a research project, to explore 
alternatives and reveal areas that need work, so it should be under qt-labs.


Name of the project: Qt HTTP Server
Responsible person: Fredrik de Vibe
Gerrit user/email: fredrik.dev...@qt.io
Desired repository name: qthttpserver


-- 
Fredrik de Vibe
Senior Manager, Qt Core and Network

The Qt Company
Sandakerveien 116
0484 Oslo, Norway
fredrik.dev...@qt.io
http://qt.io/



___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Repository request: HTTP server

2017-10-06 Thread Fredrik de Vibe
Hi all,

We have recently been working on a research project looking into the 
possibilities for creating a lightweight server component that can easily 
enable Qt applications to serve over HTTP. We would like to make this work 
public and therefore request a repository.

This work is intended to continue as a research project, to explore 
alternatives and reveal areas that need work, so it should be under qt-labs.


Name of the project: Qt HTTP Server
Responsible person: Fredrik de Vibe
Gerrit user/email: fredrik.dev...@qt.io
Desired repository name: qthttpserver


-- 
Fredrik de Vibe
Senior Manager, Qt Core and Network

The Qt Company
Sandakerveien 116
0484 Oslo, Norway
fredrik.dev...@qt.io
http://qt.io/



___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development