Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mqueue message size limit too small #1

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 8 comments
Open

mqueue message size limit too small #1

GoogleCodeExporter opened this issue Mar 14, 2015 · 8 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Use npp-server example to receive a vCard from an Android phone

What is the expected output? What do you see instead?
Expect a dump of the NDEF message with the vcard data.  Get nothing.  Running 
under strace suggests that it needs to fragment the message when putting it in 
the message queue:
[pid 22867] mq_timedsend(4, "C 
\0\1\0\0\0\1\1\0\0\0\256\322\f\237text/x-vcardBEGI"..., 187, 0, NULL) = -1 
EMSGSIZE (Message too long)


What version of the product are you using? On what operating system?
Git head (29907cacab0c), Debian testing x86_64, ACR122U


Please provide any additional information below.
Blindly going in and making wild increases to the mq_msgsize parameter when 
creating the message queues works around the problem, but some form of message 
fragmentation seems like it would be a more durable solution.

Original issue reported on code.google.com by [email protected] on 19 Jul 2013 at 3:04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant