France
I'm Simon Ser, I write open-source software.
enhancement added by ~emersion on ~emersion/tlstunnel
Ticket created by ~emersion on ~emersion/tlstunnel
Comment by ~emersion on ~emersion/tlstunnel
I'd rather not add this feature.
REPORTED
RESOLVED CLOSEDComment by ~emersion on ~emersion/tlstunnel
tls_certfp
has been added and is one of these.
upstream added by ~emersion on ~emersion/soju
Ticket created by ~emersion on ~emersion/soju
connectToUpstream
called, takes some time- User sends
net update
to the servicenetwork.stop
is called, butnet.conn == nil
because the connection from step (1) is still being establishedconnectToUpstream
is called a second time and succeeds- The connection initiated in step (1) finally succeeds
enhancement added by ~emersion on ~emersion/soju
Ticket created by ~emersion on ~emersion/soju
A common pattern in soju is:
record := user.User // copy record.Something = 42 user.updateUser(&record)This is suboptimal because it's pretty easy to forget the copy and mutate the data directly:
user.Something = 42 user.updateUser(&user.User)This is a mistake because the in-memory state goes out-of-sync with the DB state if
updateUser
fails.Something safer could be:
user.updateUser(func(record *database.User) { record.Something = 42 })