Changeset 19
- Timestamp:
- 07/14/07 09:07:46 (1 year ago)
- Files:
-
- downloads/fastcgi4d-current.tar.bz2 (added)
- downloads/fastcgi4d-current.tar.gz (added)
- downloads/fastcgi4d-current.zip (added)
- trunk/examples/SimpleApp.d (modified) (1 diff)
- trunk/examples/SimpleLoop.d (modified) (1 diff)
- trunk/examples/SimpleThread.d (modified) (1 diff)
- trunk/fcgi/Request.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/examples/SimpleApp.d
r14 r19 30 30 int main(char[][] args) 31 31 { 32 FastCGIConnection connection = new FastCGIConnection (); 32 // FastCGIConnection connection = new FastCGIConnection (); 33 // return FastCGIApplication.loop!(MyApp) (connection, true, 10); 33 34 34 return FastCGIApplication.loop!(MyApp) ( connection, true, 10);35 return FastCGIApplication.loop!(MyApp) (null, true, 10); 35 36 } trunk/examples/SimpleLoop.d
r10 r19 4 4 int main (char[][] args) 5 5 { 6 FastCGIConnection connection = new FastCGIConnection (); 7 FastCGIRequest request = new FastCGIRequest(connection); 6 // FastCGIConnection connection = new FastCGIConnection (); 7 // FastCGIRequest request = new FastCGIRequest (connection); 8 FastCGIRequest request = new FastCGIRequest (); 8 9 9 10 while ( request.accept () ) trunk/examples/SimpleThread.d
r10 r19 13 13 int main(char[][] args) 14 14 { 15 FastCGIConnection connection = new FastCGIConnection (); 15 // FastCGIConnection connection = new FastCGIConnection (); 16 // return FastCGIThread.loop(connection, &myrun, true, 10); 16 17 17 return FastCGIThread.loop( connection, &myrun, true, 10);18 return FastCGIThread.loop(null, &myrun, true, 10); 18 19 } trunk/fcgi/Request.d
r18 r19 46 46 private char[][char[]] arguments_; 47 47 48 public this (FastCGIConnection connection , bool withExceptions = false)48 public this (FastCGIConnection connection = null, bool withExceptions = false) 49 49 { 50 50 // connection passed?
