Michael Schurter
6858c520b2
framer: fix early exit/truncation in framer
2018-05-02 10:46:16 -07:00
Michael Schurter
361db269c2
framer: fix race and remove unused error var
...
In the old code `sending` in the `send()` method shared the Data slice's
underlying backing array with its caller. Clearing StreamFrame.Data
didn't break the reference from the sent frame to the StreamFramer's
data slice.
2018-05-02 10:46:16 -07:00
Michael Schurter
8776cf8a80
client: use a bytes.Reader for reading a []byte
2018-05-02 10:46:16 -07:00
Michael Schurter
aad596bb0f
client: squelch errors on cleanly closed pipes
2018-05-02 10:46:16 -07:00
Michael Schurter
cafcb89394
client: don't spin on read errors
2018-05-02 10:46:16 -07:00
Michael Schurter
63dad441b4
client: ensure cancel is always called when func exits
2018-05-02 10:46:16 -07:00
Michael Schurter
564854dd97
client: give pipe conns meaningful names
2018-05-02 10:46:16 -07:00
Michael Schurter
a7c71c1cdc
client: reset encoders between uses
...
According to go/codec's docs, Reset(...) should be called on
Decoders/Encoders before reuse:
https://godoc.org/github.com/ugorji/go/codec
I could find no evidence that *not* calling Reset() caused bugs, but
might as well do what the docs say?
2018-05-02 10:46:16 -07:00
Michael Schurter
41f05dc2c4
api: never return EOF from Logs error chan
...
Closing the frames chan is the only race-free way to signal to receivers
that all frames have been sent and no errors have occurred.
If EOF is sent on error chan receivers may not receive the last frame
(or frames since the chan is buffered) before receiving the error.
Closing frames is the idiomatic way of signaling there is no more data
to be read from a chan.
2018-05-02 10:46:16 -07:00
Michael Schurter
a8e1f35240
tests: test logs from client<->api package
2018-05-02 10:46:16 -07:00
Michael Schurter
72017cd060
Merge pull request #4225 from cryptomeme/patch-1
...
Missed change to `alloc status` from `alloc-status`
2018-04-30 11:04:16 -07:00
Alex Dadgar
c8f1c98fd7
version bump and remove generated
2018-04-27 11:10:00 -07:00
Alex Dadgar
8363b69acf
website bump
2018-04-27 11:07:23 -07:00
Alex Dadgar
1eedb7753f
Release v0.8.3
2018-04-27 11:04:17 -07:00
Alex Dadgar
c85483da34
Merge branch 'master' of github.com:hashicorp/nomad
2018-04-27 10:50:12 -07:00
Michael Lange
3d10995e9e
Merge pull request #4229 from hashicorp/je.bugfix
...
Fix js syntax error, resolve fout issues
2018-04-27 10:49:27 -07:00
Alex Dadgar
df9e8e2f27
generated files
2018-04-27 10:45:40 -07:00
Alex Dadgar
d31f8f0a3c
bump version
2018-04-27 10:42:49 -07:00
Alex Dadgar
0bb3eacac7
changelog
2018-04-27 10:42:17 -07:00
Alex Dadgar
e44600ae4d
Merge pull request #4231 from hashicorp/b-no-node-panic
...
Fix issue where node connection map wasn't being pruned
2018-04-27 10:38:35 -07:00
Alex Dadgar
5cd1ff4501
small cleanup and logging
2018-04-27 10:36:28 -07:00
Alex Dadgar
0c0fa40a3b
Fix issue where node connection map wasn't being pruned
2018-04-27 10:16:03 -07:00
Jeff Escalante
a61f3db3a7
fix js syntax error, resolve fout issues
2018-04-27 12:26:07 -04:00
Damon Buckwalter
0615332b55
Missed change to alloc status from alloc-status
2018-04-26 16:55:02 -07:00
Alex Dadgar
5066268e07
website version
2018-04-26 16:49:53 -07:00
Alex Dadgar
3fd1f48136
Remove generated and version bump
2018-04-26 16:49:19 -07:00
Alex Dadgar
8db11cfe98
Release v0.8.2
2018-04-26 16:45:33 -07:00
Alex Dadgar
4f641c00a3
ignore tags
2018-04-26 16:35:13 -07:00
Alex Dadgar
9a4295aa9c
generated files
2018-04-26 16:28:58 -07:00
Alex Dadgar
44c268530b
bump version
2018-04-26 16:26:27 -07:00
Alex Dadgar
8552b15f43
changelog
2018-04-26 16:24:02 -07:00
Alex Dadgar
f1bd5ce2df
Merge pull request #4224 from hashicorp/b-cron-parse
...
Handle potential panic in cron parsing
2018-04-26 16:22:37 -07:00
Michael Schurter
64742cb446
docs: add #4170 to changelog
2018-04-26 16:18:03 -07:00
Alex Dadgar
02673822d7
changelog fmt
2018-04-26 16:09:34 -07:00
Alex Dadgar
dc19a3883c
Merge branch 'b-cron-parse' of github.com:hashicorp/nomad into b-cron-parse
2018-04-26 15:51:56 -07:00
Alex Dadgar
c62bb84c54
Allow nomad to restore bad periodic job
2018-04-26 15:51:47 -07:00
Chelsea Holland Komlo
7ef3ca0a69
add unit tests for panic cron parsing bug
...
add comments for cron parsing wrapper
2018-04-26 18:47:08 -04:00
Alex Dadgar
15623e52cd
Fix command line
2018-04-26 15:46:22 -07:00
Alex Dadgar
a305101fc9
Merge pull request #4220 from hashicorp/b-operator
...
Generate all structs in structs packages
2018-04-26 15:26:17 -07:00
Alex Dadgar
7fd28ceb1e
Changelog
2018-04-26 15:25:53 -07:00
Alex Dadgar
54ecd73370
Keep client simple
2018-04-26 15:24:53 -07:00
Alex Dadgar
d14ba920a1
Codecgen full package
2018-04-26 15:24:53 -07:00
Alex Dadgar
9973467de9
Travis tests binary built with generated files
2018-04-26 15:24:53 -07:00
Alex Dadgar
67df44cd5e
UX touchups
2018-04-26 15:24:27 -07:00
Alex Dadgar
e224e832b4
changelog
2018-04-26 14:48:04 -07:00
Alex Dadgar
821a223965
Merge pull request #4222 from hashicorp/b-proxy
...
Track all client connections
2018-04-26 14:46:52 -07:00
Chelsea Holland Komlo
14d46f579d
handle potential panic in cron parsing
2018-04-26 16:57:45 -04:00
Alex Dadgar
16272ad545
Add test
2018-04-26 13:28:24 -07:00
Alex Dadgar
20b2ad3729
Track all client connections
2018-04-26 13:22:09 -07:00
Alex Dadgar
a4f32ea189
Merge pull request #4190 from hashicorp/je.remove-turbolinks
...
Turbolinks adjustments
2018-04-26 10:42:42 -07:00