Skip to content

Commit 722c4d2

Browse files
committed
fix expression error in tanslated version
1 parent 0db5b74 commit 722c4d2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

de/08.1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ Some of you may be thinking the following: this server does not do anything mean
266266

267267
func handleClient(conn net.Conn) {
268268
conn.SetReadDeadline(time.Now().Add(2 * time.Minute)) // set 2 minutes timeout
269-
request := make([]byte, 128) // set maximum request length to 128KB to prevent flood based attacks
269+
request := make([]byte, 128) // set maximum request length to 128B to prevent flood based attacks
270270
defer conn.Close() // close connection before exit
271271
for {
272272
read_len, err := conn.Read(request)

ja/07.2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ JSONの出力に対して、struct tagを定義する場合注意すべきいく
185185
// ID はJSONの中にエクスポートされません。
186186
ID int `json:"-"`
187187

188-
// ServerName の値は二次JSONエンコーディングが行われます。
188+
// ServerName2 の値は二次JSONエンコーディングが行われます。
189189
ServerName string `json:"serverName"`
190190
ServerName2 string `json:"serverName2,string"`
191191

ja/08.1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ Go言語ではnetパッケージの`DialTCP`関数によってTCP接続を一つ
255255

256256
func handleClient(conn net.Conn) {
257257
conn.SetReadDeadline(time.Now().Add(2 * time.Minute)) // set 2 minutes timeout
258-
request := make([]byte, 128) // set maxium request length to 128KB to prevent flood attack
258+
request := make([]byte, 128) // set maxium request length to 128B to prevent flood attack
259259
defer conn.Close() // close connection before exit
260260
for {
261261
read_len, err := conn.Read(request)

pt-br/08.1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ Some of you may be thinking the following: this server does not do anything mean
266266

267267
func handleClient(conn net.Conn) {
268268
conn.SetReadDeadline(time.Now().Add(2 * time.Minute)) // set 2 minutes timeout
269-
request := make([]byte, 128) // set maximum request length to 128KB to prevent flood based attacks
269+
request := make([]byte, 128) // set maximum request length to 128B to prevent flood based attacks
270270
defer conn.Close() // close connection before exit
271271
for {
272272
read_len, err := conn.Read(request)

0 commit comments

Comments
 (0)