Changeset 13 for trunk/examples/VerboseApp.d
- Timestamp:
- 07/08/07 11:30:43 (1 year ago)
- Files:
-
- trunk/examples/VerboseApp.d (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/examples/VerboseApp.d
r12 r13 28 28 synchronized 29 29 counter++; 30 stdout ("<h1> Hello world </h1><br>") ("Request #") (counter) (" <br><br>\n");30 stdout ("<h1> Hello world </h1><br>") ("Request #") (counter) (", Thread #") (id) ("<br><br>\n"); 31 31 32 32 // Write IP … … 47 47 char[10] string; 48 48 int rd = request.stdin.read(string); 49 stdout(string[0 .. rd]); 49 if (rd > 0) 50 stdout(string[0 .. rd]); 50 51 if (rd != string.length) 51 52 { … … 73 74 return FastCGIApplication.loop!(MyApp) (connection, true, 10); 74 75 } 76
