|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesamqp-binary-messages (last revision 2012-04-17 17:40 UTC by mls at o2 dot pl)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-06-18 23:08 UTC] felipe@php.net
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: pdezwart
[2012-06-19 10:13 UTC] jpauli@php.net
[2012-07-18 09:14 UTC] pdezwart@php.net
-Status: Assigned
+Status: Closed
[2012-07-18 09:14 UTC] pdezwart@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 14:00:01 2025 UTC |
Description: ------------ It's impossible to GET/CONSUME message which contains pure binary data - body gets truncated to few bytes. For example, frame with about 500 bytes is sent to queue correctly, but when reading the same frame body contains only 2 bytes. The same frame can be read correctly using RabbitMQ Web Management Plugin or with php-amqplib. Test script: --------------- $data = igbinary_serialize(array('test1' => 'test value 1', 'test2' => 'test value 2')); $pack = gzdeflate($data, 2); $message = pack('VVa*', strlen($pack), strlen($data), $pack); $exchange->publish($message, $queue, 0);