Gil

Switzerland

gwan.ch

Trying, since 1979, to learn something every day about programming.

Currently working on http://gwan.ch/

Jul
21
awarded Yearling
Jul
20
answered wake_up() with WK_MS won't work
Jul
20
revised wake_up() with WK_MS won't work
Corrected grammar, added relevant tags
Jul
20
comment Limit bandwidth per-IP by value from HTTP Header
Then find a C developer to help you write your programs. G-WAN helps all users, registered or not, but no company nor any consultant can afford to write custom applications for total strangers for free. And, by the way, that Swiss Francs, not Euros (1 Euro = 1.2 CHF).
Jul
16
comment Limit bandwidth per-IP by value from HTTP Header
G-WAN supporting 17 languages, we cannot afford to investigate each language's C interface, most of them being poorly documented - and often severely bugged in multi-threaded environments.
Jul
16
comment Limit bandwidth per-IP by value from HTTP Header
The C API is available to the language runtimes that are loaded as a module (C, C++, C#, D, Java, Objective-C, PH7, etc.), executing their code in the G-WAN memory space. Other languages are run as a CGI, an extern process, and therefore have to use their own libraries and can only communicate with G-WAN through the CGI variables. While Lua and a few other languages could in theory be used as a module, nobody sponsored the development so far. [As this reply is "too long", I will split it over 2 messages].
Jul
2
comment GWAN query string length issue
Unlike the Entity size, the READ_XBUF value cannot be setup globally (it would not make sense unless all HTTP requests had the same huge length - which is not realistic). Therefore, you have to do it for the current request either AFTER_CONNECT (for example by filtering IPs or authenticated users) and/or when the READ_XBUF size in the AFTER_READ state is out of buffer space. If you have problems with this, send us an email at the G-WAN website.
Jun
30
revised GWAN query string length issue
clarrification about init.c
Jun
30
comment GWAN query string length issue
If I remember well, init.c is a v4.10+ feature. G-WAN v4.5 was made available to registered users in May 2013, and they currently use v4.12. G-WAN v5 will be publicly available later this year, after our G-WAN-based Cloud services are shipped. Can you accept the answer above? Thanks.
Jun
30
comment Limit bandwidth per-IP by value from HTTP Header
We got your message, which received a reply.
Jun
28
revised GWAN query string length issue
added 3 characters in body
Jun
28
revised GWAN query string length issue
added relevant tags
Jun
28
answered GWAN query string length issue
Jun
27
comment Limit bandwidth per-IP by value from HTTP Header
Apparently, not that long. To receive an answer, it helps to send an email. There was no such a thing in our logs. Try emailing Pierre directly rathre than using the contact form (his mail address is on the same page as the contact form).
Jun
23
comment Limit bandwidth per-IP by value from HTTP Header
Contact the G-WAN team directly at gwan.ch/about/index.html#contact
Jun
10
answered GWAN : How to read cookies
Jun
10
revised GWAN : How to read cookies
corrected typos
Jun
4
revised Limit bandwidth per-IP by value from HTTP Header
Explained the dynamic feature.
Jun
4
comment Limit bandwidth per-IP by value from HTTP Header
@Misiek: throttle_reply() lets you DYNAMICALLY throttle on a per connection basis so you can reduce people's download rate once they open more than one connection: just keep track of the currently connected IP addresses and increase/decrease a connections counter. Then, divide the bandwidth of each client per its number of connections when using throttle_reply(). That's the per-IP address feature you are looking for.
Jun
2
comment Using jsn_totext() and xbuf_empty()
Right. If my answer makes sense to you, please 'accept' it. This will help others to find the solution of this problem.
1 2 3 4 5