Text #10000

/* Read a set of characters from the socket */ StringBuffer command = new StringBuffer(); int expected = 1024; /* Cut off to avoid DoS attack */ while (expected < shutdown.length()) { if (random == null) random = new Random(System.currentTimeMillis()); expected += (random.nextInt() % 1024); } while (expected > 0) { int ch = -1; try { ch = stream.read(); } catch (IOException e) { log.warn("StandardServer.await: read: ", e); ch = -1; } if (ch < 32) /* Control character or EOF terminates loop break; command.append((char) ch); expected--; }

—from Tomcat Server, a software by Apache Project

Active since December 19, 2009.
542 total characters in this text.

View Pit Stop page for this text

Leaders

View ranks through of 1,000
Rank Username WPM Accuracy Date
1. chillin (slekap) 124.87 98% 2021-11-04
2. www.tunnel.dev (leondreamed) 119.85 98% 2023-08-05
3. (sidd_) 119.66 99% 2019-07-21
4. 20mg (chakk) 117.33 98% 2018-11-03
5. leonidas (awsomaw) 112.40 98% 2019-09-20
6. [NTM] Vielle (arc_sec) 111.27 99% 2019-08-08
7. GINOO AND FLANEUR I LOVE YO... 107.57 98% 2019-07-20
8. (e6f4e37l) 106.73 98% 2021-07-04
9. leon (leonzalion) 106.72 97% 2021-08-28
10. Midnight (midnight_kitten) 106.61 100% 2023-05-26
11. spondunoob (spondulix) 103.71 98% 2019-10-17
12. r (deroche1) 102.15 97% 2019-02-16
13. Sprinkle (mrsprinkle) 96.61 100% 2024-01-19
14. (keegant) 94.65 97% 2021-09-30
15. permil (permil) 93.44 99% 2019-02-25
16. Steve (serialkiller) 93.17 95% 2012-10-07
17. Kinesis (kinesis_quake) 92.70 98.1% 2024-01-18
18. Sporcle (sporcle) 91.94 97% 2019-11-29
19. retired... for now..? (clou... 91.80 99% 2023-06-22
20. (delirious) 91.57 98% 2019-02-16
21. Joshua (joshuawn) 90.58 97% 2015-01-07
22. (boy_314) 90.55 99% 2019-10-17
23. tanon (tanon710s) 90.43 98% 2019-02-25
24. elmuchocapitano (elmuchocap... 90.01 97% 2023-06-14
25. Atilla (blueatillalonny) 89.85 95% 2015-04-29
26. Nathan (nathanajah) 89.03 94% 2014-03-14
27. 안드레아 (o________o) 88.54 97% 2020-04-01
28. Jander (jander) 88.40 98% 2011-10-05
29. Knight_Oikos (knight_oikos) 87.86 97% 2022-04-16
30. beans (beancity) 87.82 97% 2023-11-01

Universes

Universe Races Average WPM First Race
Coder Edition 2,551 52.40 December 19, 2009
Default (English) 5 63.30 December 14, 2008