Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(271)

Issue 61570046: code review 61570046: log/syslog: Add timeouts for syslog (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 10 months ago by ioe
Modified:
11 years, 3 months ago
CC:
golang-codereviews
Visibility:
Public.

Description

log/syslog: Add timeouts for syslog In order to detect dead syslog readers, use a timout on (re-)connect and write. Without this, programs hang in unixdomain sockets writes forever. The timeouts are 1 seconds each and not configurable from the outside.

Patch Set 1 #

Patch Set 2 : diff -r c92f6dbc444a https://code.google.com/p/go #

Patch Set 3 : diff -r e2dd08f26402 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -2 lines) Patch
M src/pkg/log/syslog/syslog.go View 1 4 chunks +13 lines, -1 line 0 comments Download
M src/pkg/log/syslog/syslog_test.go View 1 2 chunks +63 lines, -0 lines 0 comments Download
M src/pkg/log/syslog/syslog_unix.go View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6
ioe
Hello rsc@golang.org, golang-codereviews@googlegroups.com (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
11 years, 10 months ago (2014-02-12 10:36:08 UTC) #1
ioe
This change is the result of a discussion in https://groups.google.com/d/msg/golang-nuts/PMm8nH0yaoA/oyw1pEd_aigJ and runs in production without ...
11 years, 10 months ago (2014-02-12 21:33:13 UTC) #2
ioe
Gentle ping. On 2014/02/12 21:33:13, ioe wrote: > This change is the result of a ...
11 years, 10 months ago (2014-02-19 01:20:41 UTC) #3
bradfitz
not lgtm This hard-codes policy (1 second timeouts) in a package that we'd rather not ...
11 years, 9 months ago (2014-03-19 17:44:10 UTC) #4
ioe
Sorry for the slow response, I am on vacation until 2nd of April. Using a ...
11 years, 9 months ago (2014-03-21 05:23:40 UTC) #5
gobot
11 years, 5 months ago (2014-07-09 21:23:37 UTC) #6
R=close (assigned by r@golang.org)
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b