Skip to content

Tobias Weingartner
weingart

  • Joined on Nov 30, 2011

Organizations

@google
Jun 26, 2016
weingart commented on issue mholt/caddy#903
@weingart

15s is usually related to DNS issues. Weird, something seems to be going on.

Jun 26, 2016
weingart commented on issue mholt/caddy#903
@weingart

Any chance it's a 15 second timeout?

Jun 25, 2016
@weingart
Jun 25, 2016
weingart commented on pull request mholt/caddy#887
@weingart

No, I think it will make sense even for proxying requests. IE: the context will likely contain a timeout/deadline value, which can then be passed o…

Jun 25, 2016
weingart commented on pull request mholt/caddy#797
@weingart

It does not, but it should not error out, but simply ignore the extra content. I question the use of parsing deeply nested objects...

Jun 25, 2016
Jun 17, 2016
weingart commented on pull request mholt/caddy#887
@weingart

As an FYI, I think that the context package will enable this to be handled in a different manner in the near future...

Jun 17, 2016
@weingart
Jun 7, 2016
@weingart
Jun 7, 2016
weingart commented on issue mholt/caddy#867
@weingart

Possibly a clarification in the documentation to indicate relative vs. absolute paths?

Jun 6, 2016
weingart commented on issue mholt/caddy#328
@weingart

I'll put my $0.02 here. In order to make Caddy more "unix-like", I'd push for the github.com/ogier/pflag package... :)

Jun 5, 2016
@weingart
Parsing of User "Id" is not uint64 compliant
Jun 5, 2016
weingart commented on issue ChimeraCoder/anaconda#154
@weingart

Unfortunately, their documentation with respect to the type the "Id" field is, indicates that an int64 is safe to store this value. However, their …

Jun 4, 2016
@weingart
Parsing of User "Id" is not uint64 compliant
Jun 4, 2016
weingart commented on issue ChimeraCoder/anaconda#153
Jun 4, 2016
weingart commented on issue ChimeraCoder/anaconda#153
@weingart

Yup... grabbing the error and printing out the headers gives: Content-Encoding":[]string{"deflate"}

Jun 4, 2016
@weingart
Application only error responses are garbled
Jun 4, 2016
@weingart
Throttle seems to be global and not per request type
Jun 4, 2016
weingart commented on pull request mholt/caddy#824
@weingart

I'd personally go for cd /. One of the main reasons is, if someone decides to chroot(2) the whole thing into whatever their env setup defaults are,…

May 30, 2016
weingart commented on pull request mholt/caddy#824
@weingart

I'd be tempted to either: cd / cd /var/empty Depending on what is to be done. More likely I'd chdir("/") in a daemon.

May 30, 2016
weingart commented on pull request mholt/caddy#824
@weingart

In general, at least in the "old days", startup scripts and such should not modify files in /etc/.... In some places, these filesystems are read-on…

May 6, 2016
@weingart
  • @wmark 7f35600
    browse: Emit datetime in UTC instead of the server's timezone
  • @wmark cc6aa6b
    browse: Remove whitespace from template's output, annotate output
  • 49 more commits »
May 5, 2016
weingart commented on pull request mholt/caddy#762
@weingart

Merge away :)

May 4, 2016
@weingart
May 1, 2016
@weingart
May 1, 2016
@weingart
  • @weingart 45e783c
    Fix headers and unexport plaintext renderer.
May 1, 2016
weingart commented on pull request mholt/caddy#762
@weingart

I think I like: w.Header().Set("Content-Type", "text/html; charset=utf-8") w.Header().Set("Content-Length", strconv.FormatInt(len(html), 10)) midd…

May 1, 2016
weingart commented on pull request mholt/caddy#762
@weingart

I'd prefer to use the provided methods here. At the very least, using unicode to interpret things as runes, not just bytes.

May 1, 2016
@weingart
  • @weingart 2bccc14
    Fixup and address most of the feedback.
May 1, 2016
weingart commented on pull request mholt/caddy#762
@weingart

And I tend to hate ioutil.ReadAll() with a passion, but it does not look like blackfriday.Markdown() options have anything but []byte. :(

Something went wrong with that request. Please try again.