From 76319222f271a3ed4695466c1bb46dbd0a7885b1 Mon Sep 17 00:00:00 2001
From: Brad Fitzpatrick
+ The new Map
type
+ in the sync
package
+ is a concurrent map with amortized-constant-time loads, stores, and
+ deletes. It is safe for multiple goroutines to call a Map's methods
+ concurrently.
+
@@ -245,14 +256,6 @@ type T1 = T2 -
- TODO: https://golang.org/cl/38366: ARM assembly versions of encrypt, decrypt and expandKey -
- -@@ -269,7 +272,7 @@ type T1 = T2
- On UNIX systems the environment
+ On Unix systems the environment
variables SSL_CERT_FILE
and SSL_CERT_DIR
can now be used to override the
system default locations for the SSL certificate file and SSL
@@ -362,14 +365,6 @@ type T1 = T2
- TODO: https://golang.org/cl/44291: make -I/-L options in cgo flags absolute -
- -@@ -528,7 +523,12 @@ type T1 = T2
- TODO: https://golang.org/cl/40012: expose cgi env vars in request context
+ The new
+ ProcessEnv
+ function returns FastCGI environment variables associated with an HTTP request
+ for which there are no appropriate
+ http.Request
+ fields, such as REMOTE_USER
.
- TODO: https://golang.org/cl/34639: add Client and Certificate to Server
+ The new
+ Server.Client
+ method returns an HTTP client configured for making requests to the test server.
+
+ The new
+ Server.Certificate
+ method returns the test server's TLS certificate, if any.
- TODO: https://golang.org/cl/37586: remove duplicate environment variables in Cmd.Start
+ The os/exec
package now prevents child processes from being created with
+ any duplicate environment variables.
+ If Cmd.Env
+ contains duplicate environment keys, only the last
+ value in the slice for each duplicate key is used.
- TODO: https://golang.org/cl/33713: add Go implementation of LookupGroup, LookupGroupId +
+ Lookup
and
+ LookupId
now
+ work on Unix systems when CGO_ENABLED=0
by reading
+ the /etc/passwd
file.
- TODO: https://golang.org/cl/37664: add non-cgo versions of Lookup, LookupId +
+ LookupGroup
and
+ LookupGroupId
now
+ work on Unix systems when CGO_ENABLED=0
by reading
+ the /etc/group
file.
- TODO: https://golang.org/cl/38335: Add MakeMapWithSize for creating maps with size hint
+ The new
+ MakeMapWithSize
+ function creates a map with a capacity hint.
- TODO: https://golang.org/cl/34310: make Mutex more fair -
- -
- TODO: https://golang.org/cl/36617: import Map from x/sync/syncmap
+ Mutex
is now more fair.
The new field
Credential.NoSetGroups
- controls whether UNIX systems make a setgroups
system call
+ controls whether Unix systems make a setgroups
system call
to set supplementary groups when starting a new process.