1. 13 Aug, 2013 38 commits
  2. 12 Aug, 2013 2 commits
    • Russ Cox's avatar
      cmd/gc: support for "portable" optimization logic · b3b87143
      Russ Cox authored
      Code in gc/popt.c is compiled as part of 5g, 6g, and 8g,
      meaning it can use arch-specific headers but there's
      just one copy of the code.
      
      This is the same arrangement we use for the portable
      code generation logic in gc/pgen.c.
      
      Move fixjmp and noreturn there to get the ball rolling.
      
      R=ken2
      CC=golang-dev
      https://golang.org/cl/12789043
      b3b87143
    • Volker Dobler's avatar
      net/http: do not send malformed cookie domain attribute · 4f86a96a
      Volker Dobler authored
      Malformed domain attributes are not sent in a Set-Cookie header.
      Instead the domain attribute is dropped which turns the cookie
      into a host-only cookie. This is much safer than dropping characters
      from domain attribute.
      
      Domain attributes with a leading dot '.' are still allowed, even
      if discouraged by RFC 6265 section 4.1.1.
      
      Fixes #6013
      
      R=golang-dev, bradfitz
      CC=golang-dev
      https://golang.org/cl/12745043
      4f86a96a