Announcement Http subsystem

minimal and safe subset of an HTTP/1.1 server: http://zinnamturm.eu/downloadsDH.htm#Http
Post Reply
Josef Templ
Posts: 262
Joined: Tue Sep 17, 2013 6:50 am

Announcement Http subsystem

Post by Josef Templ »

I would like to announce the release of an http/https server framework as
a subsystem named Http available from http://zinnamturm.eu/downloadsDH.htm#Http.

The server runs as a Services.Action background task, is non-blocking, provides simple access logging,
runs with any CommStreams listener, and supports a significant subset of HTTP/1.1.
When running as an https server additional openssl libraries must be installed.
For https, the server optionally supports verification of client certificates.
For details please refer to the included documentation.

- Josef
User avatar
Ivan Denisov
Posts: 362
Joined: Tue Sep 17, 2013 12:21 am
Location: Krasnoyarsk, Russia

Re: Announcement Http subsystem

Post by Ivan Denisov »

I have just tested this subsystem with Freenix version of BlackBox.

Plain HTTP server works fine with my Ubuntu. I just removed some SSL dependencies because they can not be compiled without WinApi.
httpfreenix.png
Josef Templ
Posts: 262
Joined: Tue Sep 17, 2013 6:50 am

Re: Announcement Http subsystem

Post by Josef Templ »

Great!
If you have CommTCP available it should be possible to port
HttpCommSSL. It is very similar to CommTCP. The required
openssl libraries are probably also very similar to the ones under Windows.
But of course it requires some coding.

Under BlackBox/wine it is supposed to work out-of-the-box.
With one fine detail, I just noticed. The openssl library "libssl32.dll"
that I am assuming, is often named "ssleay32.dll" and may need to be renamed.
I don't know if there is something like an "official" name for it.
This also applies to Windows, of course.

- Josef
User avatar
Ivan Denisov
Posts: 362
Joined: Tue Sep 17, 2013 12:21 am
Location: Krasnoyarsk, Russia

Re: Announcement Http subsystem

Post by Ivan Denisov »

Josef, where do you recommend to download libraries libssl32.dll and libeay32.dll ?
Josef Templ
Posts: 262
Joined: Tue Sep 17, 2013 6:50 am

Re: Announcement Http subsystem

Post by Josef Templ »

Ivan Denisov wrote:Josef, where do you recommend to download libraries libssl32.dll and libeay32.dll ?
The Quick-Start document contains a link to https://indy.fulgan.com/SSL/.

citation from Quick-Start:
"The libraries can be downloaded from https://indy.fulgan.com/SSL/, for example, or they can be copied
from a local openssl installation.
Note: the library libssl32.dll is often distributed under the name ssleay32.dll.
You can simply rename it."

- Josef
User avatar
Ivan Denisov
Posts: 362
Joined: Tue Sep 17, 2013 12:21 am
Location: Krasnoyarsk, Russia

Re: Announcement Http subsystem

Post by Ivan Denisov »

Thank you for the answer.

I can not find such text in Quick-Start... Maybe there is some other version of Http in Helmut repository?
Josef Templ
Posts: 262
Joined: Tue Sep 17, 2013 6:50 am

Re: Announcement Http subsystem

Post by Josef Templ »

Ivan Denisov wrote:Thank you for the answer.

I can not find such text in Quick-Start... Maybe there is some other version of Http in Helmut repository?
This is very likely, sorry for the inconveniences.
I wanted to update when 1.7.1 is out because I also wanted to switch to Files64.

- Josef
Post Reply