Gil

Switzerland

trustleap.ch

Trying, since 1979, to learn something every day.

Currently working on http://global-wan.ch/ (G-WAN-based Cloud services)

6h
answered How to measure performance (consumed memory) of apache2 and nginx?
6h
revised How do I create a G-Wan global variable properly?
added relevant tags, corrected grammar, formatting...
6h
answered How do I create a G-Wan global variable properly?
6h
answered loading * no listener in gwan linux 32-bit
6h
revised loading * no listener in gwan linux 32-bit
added relevant tags
Nov
12
awarded Self-Learner
Nov
9
revised Changing the query character has no effect
added 108 characters in body
Nov
9
revised Changing the query character has no effect
Corrected the text and added relevant tags
Nov
9
answered Changing the query character has no effect
Oct
24
answered How to reference Mono C# assemblies with GWAN C# servlets
Oct
24
revised How to reference Mono C# assemblies with GWAN C# servlets
added the dll tag
Oct
24
comment Gwan API wrappers and mono_add_internal_call
I certainly could not try from C# as I would need your code to do so. I am referring to the behavior for C, which applies to C#: the request is sliced and diced while parsed. As a consequence, if you wish to read the READ xbuffer directly then you have to read NULL-byte-separated parameters until you reach the end of the URI (which is marked by the protocol version "HTTP/1.x").
Oct
23
comment Gwan API wrappers and mono_add_internal_call
I guess you are referring to URL parameters. They are still there but you need to read the buffer until you reach the end of the URI (with " HTTP/1.1 "), and skip the null characters used to separate each URL parameter.
Oct
23
comment How to reference Mono C# assemblies with GWAN C# servlets
Since mono does not support the pragma keyword (nor any equivalent) we would have to use a comment at the top of the source code file to specify dependencies (like Google Go if I remember well). If you are interested in testing such a feature, contact the G-WAN team to get a test release.
Oct
20
comment Gwan API wrappers and mono_add_internal_call
The request context is (partially) cleared after the request has been processed and then totally cleared after a connection close (not while a servlet is executing). Check that you are accessing the 'right' information context by checking the value of the client socket from your servlet.
Oct
20
comment How to reference Mono C# assemblies with GWAN C# servlets
We don't modify anything either in the system or in the mono runtime settings.
Oct
18
comment Gwan API wrappers and mono_add_internal_call
Loading your persistent code from an ephemeral module. Thanks 'Pete' for the quick reply.
Oct
18
answered Gwan API wrappers and mono_add_internal_call
Oct
18
revised How to reference Mono C# assemblies with GWAN C# servlets
corrected (too long) code lines and URL
Oct
18
comment How to reference Mono C# assemblies with GWAN C# servlets
Using one of the G-WAN scripts at startup, you can load the library in the G-WAN memory-space, and then register its functions in the G-WAN API C# class exported in the /gwan/.../libraries/cs directory. Then your servlets will be able to use any extended C code you wrote, whether this is G-WAN C API function C# wrappers or your own C functions.
1 2 3 4 5