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,015
Rank Username WPM Accuracy Date
159. Steve (steveleem) 67.17 96% 2024-01-09
160. dev_manush (dev_manush) 67.09 96% 2023-07-02
161. Ashley (squeakyhsu) 66.95 90% 2014-07-01
162. MySpaceBarIsBroken (kanto) 66.85 95% 2018-08-04
163. (jonsport) 66.85 97% 2022-07-06
164. phaed (phaed) 66.83 2011-02-26
165. Wumbo (jap23) 66.68 92% 2017-04-12
166. Felix (flashy123) 66.62 2011-04-23
167. Cuyler (trekkie) 66.49 95% 2011-08-13
168. muchinchai (muchinchai) 66.33 98.8% 2023-11-16
169. Guillermo (schobzax) 66.29 93% 2015-04-24
170. bob (brobmaurice) 66.15 95% 2023-12-01
171. qria (qria) 66.14 91% 2017-02-16
172. selphy (selphy) 66.05 89% 2013-05-05
173. jse (dragoncityjose) 66.03 95.5% 2023-09-27
174. Niels (nielsjensen) 66.02 96% 2023-06-07
175. chaotic_iak (chaotic_iak) 65.99 91% 2014-03-14
176. use an appropriate name (ar... 65.93 96.6% 2024-02-06
177. Captain Neverquit (aurum_ko... 65.85 97% 2014-08-28
178. tstats[mm_food] (mm_food) 65.85 95% 2023-08-22
179. S (whizkidz) 65.82 98% 2016-11-18
180. Andrei (sobercheg) 65.78 2011-03-16
181. N (nadeemoidu) 65.76 93% 2012-02-29
182. Wiggle (insy2) 65.59 2011-04-11
183. (scraex) 65.58 96% 2022-03-09
184. dvorak the supreme (drdilyor_) 65.57 95% 2022-03-21
185. Abishiek (abishiek_12) 65.42 96.2% 2023-12-27
186. Chegn (csun) 65.37 94% 2011-08-01
187. Angel (tribaaldos) 65.31 96% 2023-08-23
188. (´・_・`) (sinji) 65.15 2011-01-31

Universes

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