From 1aa191b468f0dde2546c8430dbfffb8b94e7568b Mon Sep 17 00:00:00 2001
From: Brad Fitzpatrick TODO: Vet is stricter in some ways and looser others which
+ caused false positives. Vet now checks copying of array of locks,
+ duplicate JSON and XML struct field tags,
+ non-space-separated struct tags,
+ deferred calls to HTTP Vet
-
-cmd/vet: accept space-separated tag lists for compatibility with cmd/go (CL 32030)
-cmd/vet: allow ^& uintptr arithmetic (CL 27156)
-cmd/vet: allow any printf verb with any interface (CL 27127)
-cmd/vet: check for copying of array of locks (CL 24340)
-cmd/vet: check for duplicate json, xml struct field tags (CL 16704)
-cmd/vet: detect defer resp.Body.Close() before error check (CL 32911)
-cmd/vet: diagnose non-space-separated struct tag like `json:"x",xml:"y"` (CL 32031)
-cmd/vet: improve asmdecl parameter handling (CL 27150)
-cmd/vet: properly handle indexed arguments in printf (CL 24391)
-cmd/vet: skip printf check for non-constant format string during failed import (CL 29014)
-
+Response.Body.Close
+ before checking errors,
+ indexed arguments in Printf
,
+ and improves existing checks.
- The new Config.GetConfigForClient
(TODO: make link work)
+ The new Config.GetConfigForClient
callback allows selecting a configuration for a client dynamically, based
on the client's
ClientHelloInfo
.
@@ -675,7 +673,7 @@ Optimizations and bug fixes are not listed.
- The new Config.GetClientCertificate
(TODO: make link work)
+ The new Config.GetClientCertificate
callback allows selecting a client certificate based on the server's
TLS CertificateRequest
message, represented by the new
CertificateRequestInfo
.
@@ -684,7 +682,7 @@ Optimizations and bug fixes are not listed.
The new
Config.KeyLogWriter
- (TODO: make link work) allows debugging TLS connections
+ allows debugging TLS connections
in WireShark and
similar tools.
The new
Config.VerifyPeerCertificate
- (TODO: make link work)
callback allows additional validation of a peer's presented certificate.
- TODO: describe Issue 15345 and CL 22181, CL 22332, CL 22336 -
pkg debug/pe, method (*COFFSymbol) FullName(StringTable) (string, error) -pkg debug/pe, method (StringTable) String(uint32) (string, error) -pkg debug/pe, type File struct, COFFSymbols []COFFSymbol -pkg debug/pe, type File struct, StringTable StringTable -pkg debug/pe, type Reloc struct -pkg debug/pe, type Reloc struct, SymbolTableIndex uint32 -pkg debug/pe, type Reloc struct, Type uint16 -pkg debug/pe, type Reloc struct, VirtualAddress uint32 -pkg debug/pe, type Section struct, Relocs []Reloc -pkg debug/pe, type StringTable []uint8+ The package has been fleshed out and is now used by the Go linker. + New are +
Reloc
,
+ Section
,
+ StringTable
,
+ the method
+ COFFSymbol.FullName
,
+ and
+ File
+ fields
+ COFFSymbols
and
+ StringTable
.
Updating: implementations of the Conn
interface should verify
- they implement the documented semantics. TODO: https://golang.org/cl/18097
+ they implement the documented semantics. The
+ golang.org/x/net/nettest
+ package will exercise a Conn
and validate it behaves properly.
@@ -1164,11 +1164,9 @@ pkg debug/pe, type StringTable []uint8
Client
- now copies most request headers on redirect. Authentication-specific
- headers are only sent to the same origin or subdomains thereof.
- Cookies are not sent again, unless they were set explicitly.
- TODO: verify this, and link to docs once https://golang.org/issue/18096
- is fixed.
+ now copies most request headers on redirect. See
+ the documentation
+ on the Client
type for details.