An error occurred fetching the project authors.
  1. 06 Mar, 2014 15 commits
  2. 05 Mar, 2014 23 commits
  3. 04 Mar, 2014 2 commits
    • Robert Griesemer's avatar
      go/parser: better error position for non-invoked gp/defer functions · 1624c73c
      Robert Griesemer authored
      Added test cases and expanded test harness to handle token end
      positions.
      
      Also: Make sure token end positions are never outside the valid
            position range, as was possible in case of parse errors.
      
      Fixes #7458.
      
      LGTM=bradfitz
      R=bradfitz
      CC=golang-codereviews
      https://golang.org/cl/70190046
      1624c73c
    • Mike Andrews's avatar
      net/smtp: set ServerName in StartTLS, as now required by crypto/tls · a18bfb8c
      Mike Andrews authored
      the crypto/tls revision d3d43f270632 (CL 67010043, requiring ServerName or InsecureSkipVerify) breaks net/smtp,
      since it seems impossible to do SMTP via TLS anymore. i've tried to fix this by simply using a tls.Config with
      ServerName, instead of a nil *tls.Config. without this fix, doing SMTP with TLS results in error "tls: either
      ServerName or InsecureSkipVerify must be specified in the tls.Config".
      
      testing: the new method TestTlsClient(...) sets up a skeletal smtp server with tls capability, and test client
      injects a "fake" certificate allowing tls to work on localhost; thus, the modification to SendMail(...) enabling
      this.
      
      Fixes #7437.
      
      LGTM=bradfitz
      R=golang-codereviews, josharian, bradfitz
      CC=golang-codereviews
      https://golang.org/cl/70380043
      a18bfb8c