Stefan Bühler
|
611d7dcac3
|
Recode the sockaddr handling, fixing some bugs
|
2009-04-03 14:29:55 +02:00 |
Thomas Porzelt
|
7766bd8c34
|
save errno of stat() in request.physical struct to prevent repeated stat()s if failed
|
2009-01-08 00:26:30 +01:00 |
Thomas Porzelt
|
85a3a4d091
|
added "if" to condition syntax (if req.path == "/foo" {})
added boolean conditions without operator or rvalue (if phys.is_dir {}, rvalue is always true)
added negated boolean conditions (if !phys.is_dir {}, rvalue is always false)
added physical.is_dir and .is_file conditionals
|
2009-01-06 01:33:20 +01:00 |
Thomas Porzelt
|
01068d7f1d
|
make docroot a function action instead of setting, add stat member to vr.physical and enable physical.size conditional
|
2009-01-05 22:24:54 +01:00 |
Stefan Bühler
|
e8e60b3a04
|
Add clean ipv6+port parsing for listen()
|
2008-12-22 22:48:47 +01:00 |
Stefan Bühler
|
e438fb58ab
|
Fix "notequal" string comparison bug
|
2008-12-09 22:38:37 +01:00 |
Thomas Porzelt
|
0994052566
|
fix wrong placement of #endif in condition.c => broken code when HAVE_IPV6 not defined
|
2008-11-20 00:13:51 +01:00 |
Stefan Bühler
|
3dceeb5916
|
Move include files into a separate directory and cleanup include order
|
2008-11-16 21:33:53 +01:00 |
Stefan Bühler
|
649f7baf78
|
Modify header usage; include all core headers from base.h and forbid direct including of core headers. Move typedefs into separate header.
|
2008-10-28 22:11:50 +01:00 |
Stefan Bühler
|
566cbdb024
|
virtual requests; they replace a big part from connection.
|
2008-10-25 14:53:57 +02:00 |
Stefan Bühler
|
091f122aad
|
Renamed option -> value, some other minor/related renames; added option_value as
datatype for the value of options (union for ptr/gin64)
|
2008-09-26 16:11:08 +02:00 |
Stefan Bühler
|
721cb88985
|
Kill some memleaks
|
2008-09-24 20:02:47 +02:00 |
Stefan Bühler
|
ac1f66ee1d
|
Fix pcre
|
2008-09-18 09:13:32 +02:00 |
Stefan Bühler
|
dbc9859ce8
|
Use atomic refcount operations
|
2008-09-09 16:41:02 +02:00 |
Stefan Bühler
|
0fe9176d6f
|
Splitted worker from server; removed "server *srv" from most function which also have "connection *con"
|
2008-09-08 02:20:55 +02:00 |
Thomas Porzelt
|
c2b8ccdec4
|
changed operators ^= to =^ and $= to =$; introduced clean and ./waf
|
2008-08-13 22:26:45 +02:00 |
Thomas Porzelt
|
f795f2463a
|
added ^= (prefix match) and $= (suffix match) operators
|
2008-08-13 22:10:20 +02:00 |
Stefan Bühler
|
a863b6f7e9
|
Added url/authority parsing, enabled simple static() action.
|
2008-08-09 17:20:12 +02:00 |
Stefan Bühler
|
03458817cc
|
Updated TODO hints
|
2008-08-07 14:12:51 +02:00 |
Stefan Bühler
|
e216fc5168
|
handle requests now :) - still many TODOs for error handling/keep alive/validating headers
|
2008-08-07 00:26:17 +02:00 |
Stefan Bühler
|
2fbc7b1408
|
Basic connection state machine
|
2008-08-06 20:46:42 +02:00 |
Stefan Bühler
|
ff9b6c4461
|
Implement ip matching for conditions.
|
2008-07-26 00:42:08 +02:00 |
Stefan Bühler
|
aff9544b95
|
Parsers for ipv4/ipv6 für conditions
|
2008-07-25 22:38:42 +02:00 |
Stefan Bühler
|
c342be6424
|
New condition structure, some code for lua condition support
|
2008-07-25 14:09:03 +02:00 |
Stefan Bühler
|
2f7359b14c
|
changed some apis, implemented some todos, added support for lua actions/conditions.
|
2008-07-24 13:25:40 +02:00 |
Stefan Bühler
|
50bb61a041
|
Require srv for log macros, undo gint64 change for options (as it needs to fit into a pointer, and many other warnings)
|
2008-07-19 12:56:44 +02:00 |
Thomas Porzelt
|
781dfd07cf
|
config_cond_t renamed to comp_operator_t
|
2008-07-17 19:32:11 +02:00 |
Stefan Bühler
|
18413d698a
|
Renamed chunk sources, added request parser, header management, test file.
|
2008-07-01 20:56:59 +02:00 |
Thomas Porzelt
|
3c05dca97a
|
unindent switches
|
2008-06-30 14:34:37 +02:00 |
Thomas Porzelt
|
e8fd628b00
|
switch defaults removed
|
2008-06-30 14:01:53 +02:00 |
Thomas Porzelt
|
b9c8c08e98
|
condition changes
|
2008-06-30 13:38:52 +02:00 |
Stefan Bühler
|
c612995cfe
|
Request/condition
|
2008-06-30 12:25:01 +02:00 |
Stefan Bühler
|
777232ab5d
|
Condition
|
2008-06-29 17:48:28 +02:00 |