Aaron Piotrowski
|
fdcf400f19
|
Check writable flag rather than for null resource
Also null resource when writing in watcher callback fails. Fixes #20.
|
2017-09-15 00:17:42 -05:00 |
|
Niklas Keller
|
8047db9b9c
|
Add banner to readme
|
2017-09-07 11:03:21 +02:00 |
|
Niklas Keller
|
ec1ca87903
|
Unbreak logo text
|
2017-07-15 23:21:23 +02:00 |
|
Niklas Keller
|
5e06f3acd4
|
Use new logo \o/
|
2017-07-15 23:15:05 +02:00 |
|
Bob Weinand
|
a70a650793
|
Also \assert() against fclose() instead of silently returning null
|
2017-07-15 10:38:47 +02:00 |
|
Bob Weinand
|
6b9074fbf2
|
Prevent SIGPIPE test aborts with phpdbg
|
2017-07-15 10:11:27 +02:00 |
|
Bob Weinand
|
666ece18a4
|
Fix invalid StreamException upon full write buffer
And add a few tests with chunk size writes
|
2017-07-15 10:06:12 +02:00 |
|
Niklas Keller
|
4777508637
|
Fail streaming messages correctly on read failures
Fixes #18.
|
2017-06-28 11:35:12 +02:00 |
|
Niklas Keller
|
704adf70cf
|
Add reference and unreference methods to ResourceInputStream
|
2017-06-23 16:33:13 +02:00 |
|
Niklas Keller
|
b67358ad91
|
Suppress errors on close for resource streams
A resource might still be non-null, but already closed.
|
2017-06-19 08:43:07 +02:00 |
|
Aaron Piotrowski
|
48c4e122d8
|
Tweak closing
Resource is not nulled in watcher callback if reading/writing fails so close() will still call shutdown/fclose.
|
2017-06-18 23:14:59 -05:00 |
|
Niklas Keller
|
8d74c85048
|
Apply same closing mechanism to RIS
|
2017-06-18 23:25:22 +02:00 |
|
Niklas Keller
|
798723e942
|
Use \fclose for unidirectional resources to cover pipes
|
2017-06-18 22:57:19 +02:00 |
|
Niklas Keller
|
93540890fd
|
Remove unnecessary isset check for stream modes
|
2017-06-18 22:55:44 +02:00 |
|
Niklas Keller
|
161c73471d
|
stream_socket_shutdown resources in ROS on close
|
2017-06-18 20:16:05 +02:00 |
|
Niklas Keller
|
cc42b43fe4
|
Add test for large writes
|
2017-06-18 19:58:35 +02:00 |
|
Aaron Piotrowski
|
816307c665
|
Fix writing in watcher callback if $chunkSize is null
|
2017-06-18 11:47:58 -05:00 |
|
Niklas Keller
|
8b20bf90b8
|
Fix feof check
|
2017-06-17 17:46:18 +02:00 |
|
Niklas Keller
|
0071609904
|
Fix minor phpdoc issue
|
2017-06-17 17:10:23 +02:00 |
|
Niklas Keller
|
03ea140945
|
Update composer.json, Amp v2.0.0 is stable
|
2017-06-15 17:58:59 +02:00 |
|
Niklas Keller
|
2c0458fa10
|
Update shared documentation files
|
2017-06-15 17:56:19 +02:00 |
|
Niklas Keller
|
dae37a666c
|
Update shared docs and make resource streams available as document
|
2017-06-14 12:48:57 +02:00 |
|
Niklas Keller
|
957d190034
|
Fix typo
|
2017-06-12 23:04:28 +02:00 |
|
Niklas Keller
|
c0aaf02d2c
|
Use absolute example links to make them work on the website
|
2017-06-12 23:03:44 +02:00 |
|
Aaron Piotrowski
|
b37f769e7d
|
Remove missed parser reference
|
2017-06-09 00:31:37 -05:00 |
|
Aaron Piotrowski
|
7a8d6d5f1f
|
Remove Parser
Moved to a separate repository at amphp/parser.
|
2017-06-07 22:23:44 -05:00 |
|
Niklas Keller
|
6eb83c1218
|
Make Parser methods instead of class final
|
2017-06-05 14:54:51 +02:00 |
|
Niklas Keller
|
b553a46151
|
Add parser test
|
2017-06-05 13:45:39 +02:00 |
|
Niklas Keller
|
06715d6387
|
Revert "Fixup 7543f30fd66e41315677e1800082ba8b79f60b4c"
This reverts commit 751b757ae2 .
|
2017-06-05 13:39:07 +02:00 |
|
Niklas Keller
|
751b757ae2
|
Fixup 7543f30fd6
|
2017-06-05 13:36:29 +02:00 |
|
Niklas Keller
|
c87c0cca98
|
Remove wrong return type from Parser::push
|
2017-06-04 11:41:44 +02:00 |
|
Niklas Keller
|
51265e4ece
|
Remove OutputStream from Parser, make it not implementing the interface
|
2017-06-04 11:40:15 +02:00 |
|
Aaron Piotrowski
|
7543f30fd6
|
Do not include delimiter in sent string
|
2017-06-01 00:08:18 -05:00 |
|
Aaron Piotrowski
|
b5d2a8d434
|
Do not send remaining buffer on end
|
2017-05-31 23:51:44 -05:00 |
|
Aaron Piotrowski
|
06fc788d32
|
Revert "Add Parser::getBuffer()"
This reverts commit 253aaaf4fa .
|
2017-05-29 23:29:19 -05:00 |
|
Niklas Keller
|
da4ca7a60c
|
Update shared, convert blockquote into note
|
2017-05-29 21:52:28 +02:00 |
|
Niklas Keller
|
ea135f26d0
|
Fix chunk size issue in ResourceOutputStream, fixes #14
|
2017-05-29 17:34:29 +02:00 |
|
Niklas Keller
|
e6750aa6bc
|
Convert block quote to note
|
2017-05-29 12:38:42 +02:00 |
|
Niklas Keller
|
75e69e7322
|
Turn ./docs into a Jekyll site
|
2017-05-28 19:24:13 +02:00 |
|
Niklas Keller
|
2ecbf8aa8b
|
Respect chunk size for ResourceOutputStream, document resource streams
|
2017-05-25 18:12:12 +02:00 |
|
Niklas Keller
|
a27cd0c3db
|
Make ClosedException final
|
2017-05-25 17:52:07 +02:00 |
|
Niklas Keller
|
2bf2f8af06
|
Document compression streams
|
2017-05-25 17:51:25 +02:00 |
|
Niklas Keller
|
21945b888f
|
Make Parser + PendingReadError final, add explicit note about extension to Message
|
2017-05-25 17:30:53 +02:00 |
|
Niklas Keller
|
6bc8199340
|
Drop Buffer as per #13, fixes #13
|
2017-05-24 18:30:38 +02:00 |
|
Niklas Keller
|
bf1635fa39
|
Suppress warning for invalid contexts, we throw an exception there
|
2017-05-22 14:44:36 +02:00 |
|
Niklas Keller
|
eb9394a5da
|
Make resource streams final
|
2017-05-22 14:38:39 +02:00 |
|
Niklas Keller
|
c33c2bec61
|
Make InMemoryStream, IteratorStream and methods of Message final
|
2017-05-22 14:37:20 +02:00 |
|
Niklas Keller
|
7616029740
|
Allow options for Zlib streams, fixes #10
|
2017-05-22 14:35:13 +02:00 |
|
Niklas Keller
|
6b369657a1
|
Reject non-strings in IteratorStream
|
2017-05-22 10:41:35 +02:00 |
|
Niklas Keller
|
2049e76771
|
Use a Producer in the IteratorStream docs
|
2017-05-22 10:36:19 +02:00 |
|