Commit Graph

55 Commits (4055c467a18c9452d41b531ba09db3b4215d5ad3)

Author SHA1 Message Date
Darien Raymond c49b93b39e
simplify buffer allocation 2018-12-04 11:07:33 +01:00
Darien Raymond 842a089dad
refactor multibuffer 2018-11-18 19:36:36 +01:00
Darien Raymond 0f324a613e
remove MultiBuffer.Release 2018-11-17 22:45:07 +01:00
Darien Raymond a01fdc29a6
remove NewMultiBufferValue 2018-11-16 11:08:12 +01:00
Darien Raymond 58e2ed3381
remove closure on ReadFullFrom 2018-11-02 15:01:33 +01:00
Darien Raymond 2f6a0d539d
dont write out empty payload 2018-09-01 21:19:33 +02:00
Darien Raymond 834dc4ab7c
remove references after content is written 2018-08-31 22:56:17 +02:00
Darien Raymond 7053293347
fix sync issue in buffered writer 2018-08-31 15:02:35 +02:00
Darien Raymond 0b388280ce
simplify writing 2018-08-29 16:42:03 +02:00
Darien Raymond 2594f7027a
remove ToNetBuffers 2018-08-17 11:51:59 +02:00
Darien Raymond 950612544b
simple write for single buffer 2018-08-16 12:40:55 +02:00
Darien Raymond 7baa6977d3
cleanup buf interfaces 2018-07-31 13:43:27 +02:00
Darien Raymond 6a06908456
optimize encryption read/write operations 2018-07-31 12:37:59 +02:00
Darien Raymond ebea255c74
eliminate partial writes 2018-07-28 15:03:40 +02:00
Darien Raymond 28ccd4ddd5
write all content 2018-07-27 23:35:02 +02:00
Darien Raymond adade2bffd
fix lint warnings 2018-05-31 11:55:11 +02:00
Darien Raymond 64ebba3cff
implement transport.pipe 2018-04-16 14:57:13 +02:00
Darien Raymond 9d7f43a299
fix lint errors 2018-04-11 16:15:29 +02:00
Darien Raymond ccb2a9f168
comments 2018-02-13 11:15:04 +01:00
Darien Raymond ae4dece6b0
explictly use the io.Writer instance for writing net.Buffers 2018-02-12 14:35:42 +01:00
Darien Raymond 0959755d21
fix a buffer leak in buffered reader 2017-12-16 02:02:48 +01:00
Darien Raymond 7709ee9b7f
more interface test 2017-12-03 23:11:29 +01:00
Darien Raymond 41961dbd60
cleanup 2017-11-25 21:58:47 +01:00
Darien Raymond 052d2d8278
merge noOpBytesWriter into noOpWriter 2017-11-25 21:35:26 +01:00
Darien Raymond 2fdccb2424
handle read with data and error at same time 2017-11-24 23:16:01 +01:00
Darien Raymond fcc66704fa
comments 2017-11-21 16:55:22 +01:00
Darien Raymond 66ebeaa0ca
cleanup 2017-11-21 16:53:07 +01:00
Darien Raymond ec8f8d4e10
remove check for ReaderFrom on underlying writer, as it may be badly implemented. 2017-11-20 11:13:27 +01:00
Darien Raymond afcad409e2
reallocate in for loop 2017-11-17 09:18:12 +00:00
Darien Raymond 23b768576e
always allocate buffer in Write 2017-11-16 18:34:05 +01:00
Darien Raymond 743d35c059
flush when not buffered 2017-11-15 23:38:52 +01:00
Darien Raymond f3c5df8798
make sure writer not buffered 2017-11-15 11:23:25 +01:00
Darien Raymond 594ec15c09
cleanup buffer usage 2017-11-09 22:33:15 +01:00
Darien Raymond 66b82e4ab7
cleanup MultiBuffer 2017-11-09 00:55:28 +01:00
Darien Raymond 3d2fd372e1
avoid writing empty payload in bytesToBufferWriter 2017-11-08 23:43:16 +01:00
Darien Raymond 2a96aaaf7b
comments 2017-11-08 18:14:44 +01:00
Darien Raymond 4b240eb683 DiscardBytes 2017-11-04 01:33:35 +01:00
Darien Raymond 939fae00e9
packet mode reader and writer 2017-05-02 00:28:16 +02:00
Darien Raymond f418b9bc20
swallow write error in mux 2017-04-27 22:20:29 +02:00
Darien Raymond cea6e28634
refactor 2017-04-23 13:41:52 +02:00
Darien Raymond e87b0ca848
size encoder and decoder 2017-04-23 13:30:08 +02:00
Darien Raymond 6a90ce3c43
comments 2017-04-21 15:36:05 +02:00
Darien Raymond 498c7dafdf
clean udp writer 2017-04-21 14:51:09 +02:00
Darien Raymond 5f4acaa9ea
merging reader and writer 2017-04-20 11:00:15 +02:00
Darien Raymond 6d7aaa6535
bug fixes 2017-04-19 21:27:21 +02:00
Darien Raymond 8868fe68ed
optimize http server 2017-04-17 22:35:20 +02:00
Darien Raymond e5525715fb
optimize cfb stream writer 2017-04-16 22:30:29 +02:00
Darien Raymond ed7b22622c
release buffer properly 2017-04-15 21:50:23 +02:00
Darien Raymond f506a39d32
multi buffer 2017-04-15 21:07:23 +02:00
Darien Raymond bf7906c7f0
clean lint warnings 2017-02-20 10:33:35 +01:00