APE-Project / APE_Server

Ajax Push Engine : Lightweight HTTP Streaming server. Fully written in C language, it provides best performances, making it the faster Comet server to date. APE now support server-side javascript modules through spidermonkey

Home Page:www.ape-project.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

APE convert float to int values with inlinepush

egguy opened this issue · comments

When i use the inlinepush module the float values are converted to int value.

ex:

send to the APE server using inline push:
[{"cmd": "inlinepush", "params":
{"raw": "ping", "password": "testpasswd", "data":
{"content": {"timestamp": 1264062569.54, "coord":
{"y": 1.0957805, "x": 49.449257}}}, "channel": "*TEST"}}]
[{"time":"1264012321","raw":"pushed","data":{"value":"ok"}}]

X and Y became:
[{"time":"1264013251","raw":"ping","data":{"content":{"timestamp":1264063517,
"coord":{"y":1,"x":48}
}}}]

The version used is the 1.0 binaries from the officiel website

egguy, what version? 1.01dev or 1.0?

1.0 from the web site, not the dev

Ok, confirmed. (btw, the issue tracker is http://ape-project.lighthouseapp.com/dashboard ;))