Good evening,
I've been playing around with go9p and libixp (http://repo.cat-v.org/libixp/)
and I think I spotted a bug when they interact.
To reproduce,
1. launch any of srv/examples on localhost:5640
2. run "ixpc -a 'tcp!127.0.0.1!5640' ls"
3. ixpc fails with "unknown user: 22"
cl and ls in clnt/examples are fine. With -d=1 on the server, I can see that
they send Tattach messages looking like
Tattach tag 0 fid 0 afid 4294967295 uname '' nuname 1001 aname ''
whereas ixpc does
Tattach tag 0 fid 1 afid 4294967295 uname 'louis' nuname 4294967295 aname ''
I understand that the go9p programs put the nil value in uname and rely on
nuname and that ixpc does the exact opposite.
I figured out 22 means EINVAL, the invalid user seems to be the 0xFFFFFFFF id.
As far as I know, this report could also be considered an issue with libixp.
I haven't tried connecting a go9p client and a libixp server over tcp.
Louis
Original issue reported on code.google.com by
lo...@bettens.orgon 23 Jul 2014 at 8:29