[Serdev] [Tracker] Resolved: (SER-367) sercmd confused when more parameters than required specified
Andrei Pelinescu - Onciul (JIRA)
tracker at iptel.org
Sun Jun 29 01:36:56 CEST 2008
[ http://tracker.iptel.org/browse/SER-367?page=all ]
Andrei Pelinescu - Onciul resolved SER-367.
-------------------------------------------
Resolution: Fixed
fixed on cvs (both stabe and unstable).
The bug was in the ctl module handling of stream connection (it didn't affect udp or unix datagram connections). Instead of skipping packet_len bytes, the code skipped only the ammount of bytes processed by the rpc functions (so if more parameters then expected were present, the stream got desyncrhonized).
> sercmd confused when more parameters than required specified
> ------------------------------------------------------------
>
> Key: SER-367
> URL: http://tracker.iptel.org/browse/SER-367
> Project: SER
> Issue Type: Bug
> Components: XML-RPC
> Affects Versions: 2.0, Ipteldorf
> Environment: CVS head
> Reporter: Michal Matyska
> Assigned To: Andrei Pelinescu - Onciul
> Priority: Minor
> Fix For: 2.0, Ipteldorf
>
>
> Run sercmd with following commands:
> sercmd> cfg.get core
> error: 400 - error at parameter 1: expected string type but end of packet encountered
> sercmd> cfg.get core debug
> 3
> sercmd> cfg.get core debug 1
> 3
> sercmd> cfg.get core debug
> bad reply, cookie doesn't match: sent 4737a798 and received 00
> ERROR: cookie does not match
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.iptel.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Serdev
mailing list