Questions tagged [g-wan]

G-WAN is a web server with scripts in Asm, C, C++, C#, D, Go, Java, Javascript, Lua, Objective-C, Perl, PHP, Python, Ruby and Scala.

G-WAN is a (freeware) web application server first published in 2009. The gwan.com site presents the G-WAN API, answers FAQs and also publishes many benchmarks in various programming languages.

G-WAN supports scripts in Asm, C, C++, C#, D, Go, Java, Javascript, Lua, Objective-C, Perl, PHP, Python, Ruby, and Scala (click on a language link to show a benchmark).

An old performance comparison with static servers was done by an academic: http://nbonvin.wordpress.com/2011/03/24/serving-small-static-files-which-server-to-use/

A more recent benchmark (on 1/2/4/8 CPU Cores) - also made by an independent third-party - compares Apache 2.2, Apache 2.4, Nginx, Lighttpd, Varnish, Litespeed, Cherokee and G-WAN: http://www.rootusers.com/web-server-performance-benchmark/

274 questions
0
votes
1 answer

set multiple IP address point to single domain name in gwan server

Who can explain how to set multi internet IP point to a single domain in gwan server? How to set the listeners and vhosts in gwan server? For example, abc.com are pointed by 123.456.345.34, and 345.567.789.56, and 123.123.123.112 and ...
k.k. lou
  • 1,805
  • 2
  • 13
  • 16
0
votes
1 answer

dynamic root host switching

I have several projects in the gwan server, so I need to switch the vhosts when I test the project from other machine in my local network. I made a symbolic link of a vhost as the root host. But gwan reported that "no 'root' #host for listener…
k.k. lou
  • 1,805
  • 2
  • 13
  • 16
0
votes
1 answer

Size limits on Get/POST parameters?

I noticed once the length of a GET parameter is longer than 400 bytes, or 2000 bytes for a POST parameter, G-WAN returns 400 error. Is there any way to increase the limits? And when I try the csp_entity.html, I keep get 400 error as well for the…
BYZ
  • 21
  • 1
0
votes
1 answer

20-second response when using G-WAN /?noheaders.c

When I enter the URL http://localhost:8080/?noheaders.c in a Web browser, G-WAN seems to be blocking during 20 seconds before responding, whatever the browser (IE, Chrome, or Firefox). What is causing this? How can we avoid that? Thanks for your…
Eli
  • 106
  • 7
0
votes
1 answer

GWAN encryption

Anybody that can tell me why I have problems with this piece of testkode, GWAN crash when it gets called. gwan API help: void aes_init(aes_t *ctx, u32 mode, u8 *key, u32 keylen); My test code: aes_t *testaes = 0; u32 ed = 0; u32 keylen = 128; u8…
H.J.
  • 25
  • 4
0
votes
2 answers

Captcha don't change with new version of GWAN

Why this page captcha.c isn't changing with the new version of gwan ? (the picture doesn't change) This example worked fine in older versions!
John S
  • 231
  • 3
  • 11
0
votes
2 answers

Unused variable with go and gwan

Go compiler complain about unused variable and imports. So go scripts can't be run within gwan if any unused var/script is detected. gwan provide a 404 error in this case if running ... or simply can't be start There is a way to avoid this…
solisoft
  • 669
  • 4
  • 12
0
votes
3 answers

G-WAN 4.1.17 can find its /csp scripts but not my old /csp scripts

After extracting the gwan (4.1.17) in a folders, I execute gwan in this folder. It works normally. When I replace all the old gwan files and folders in my project folder from this extracted folder, gwan cannot find the c servlets, but still can find…
k.k. lou
  • 1,805
  • 2
  • 13
  • 16
0
votes
1 answer

Gwan handler is only accepting file requests

When using the code below, the handler will not recognize non file requests (e.g. the request has to contain a file in the www folder). With all other requests main isn't even called, and I have no idea why this is. int init(int argc, char…
0
votes
1 answer

How to share kv store between vhosts, one for http, another one for https requests

Since gwan has not released the documentation of how to use the https features, i am trying to use a reverse proxy to receive https and pass http to gwan. My problems are: how to identify the request is coming from the reverse proxy? how to…
k.k. lou
  • 1,805
  • 2
  • 13
  • 16
0
votes
1 answer

How to add a vhost in gwan without restarting gwan

In order to use gwan as a web hosting server, how to add/stop/delete a vhost without restarting the whole gwan server? thanks
k.k. lou
  • 1,805
  • 2
  • 13
  • 16
0
votes
1 answer

Installation issue under Debian Wheezy

Is anyone gettings success to run G-WAN on Debian Wheezy? I am trying to use G-WAN for testing with future full move to it. I enjoy doing my websites lightweight and loading extremely faster. Today i need native and multi-threaded (like G-WAN's)…
0
votes
1 answer

Disable static content cache gwan

Is there a way to disable G-wan's static content cache? Is there Disable cache in general on G-wan? I read the PDF located on gwan.com and noticed it has a micro cache feature which don't get me wrong is awesome. It's just not needed and counter…
tomek
  • 35
  • 3
0
votes
1 answer

Weird behavior with gwan v3.12.26

I just installed the latest Xmas gift from gwan team, but I'm having some problems: Segmentation fault with archlinux . On Ubuntu strange behavior. I can't run any script on it. About #1, Archlinux is up to date and uses the 2.16 GLIBC. About #2,…
solisoft
  • 669
  • 4
  • 12
0
votes
2 answers

Segmentation fault when starting G-WAN 3.12.26 32-bit on linux fc14

I have a fc14 32 bit system with 2.6.35.13 custom compiled kernel. When I try to start G-wan I get a "Segmentation fault".I've made no changes, just downloaded and unpacked the files from g-wan site. In the log file I have: "[Wed Dec 26 16:39:04…