test_ppg - current status?
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <20020930181042.QBTP27086.fep06-svc.ttyl.com@localhost> |
Hi,
I've just installed from cvs today and ran my usual test_ppg test set.
Previously this failed with this test_http_server log:
2002-08-29 12:20:31 [1] DEBUG: HTTP: Destroying HTTPClient area 0x100be730.
2002-08-29 12:20:31 [1] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'.
2002-08-29 12:20:31 [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.
2002-08-29 12:20:31 [1] ERROR: HTTP: Content-Length header wrong: <: 1184>
2002-08-29 12:20:31 [1] DEBUG: HTTP: Destroying HTTPClient area 0x100be6a0.
Some work has been done since then because, with the same test set, I get what looks like a "real" compile from the server. Great, except test_ppg now shows:
2002-09-30 19:03:13 [2] DEBUG: HTTP: Status line: <HTTP/1.1 200 Foo>
2002-09-30 19:03:13 [1] DEBUG: TEST_PPG: push 0 done: reply from, http://localh
ost:8080/cgi-bin/wap-push.cgi?username=foo&password=bar
Entity: line 1: error: Start tag expected, '<' not found
Sent.
^
2002-09-30 19:03:13 [1] WARNING: PAP COMPILER: pap_compile: parse error in pap s
ource
2002-09-30 19:03:13 [1] WARNING: TEST_PPG: receive_push_reply: cannot compile pa
p message
The command line is:
./test_ppg -q "http://localhost:8080/cgi-bin/wap-push.cgi?username=foo&password=bar" content.xml control.xml
content.xml:
<?xml version="1.0"?>
<!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN"
"http://www.wapforum.org/DTD/si.dtd";>
<si>
<indication href="http://wap.iobox.fi";
si-id="[email protected]"
action="signal-medium"
created="1999-06-25T15:23:15Z"
si-expires="2002-06-30T00:00:00Z">
Want to test a fetch?
</indication>
</si>
control.xml:
<?xml version="1.0"?>
<!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP//EN"
"http://www.wapforum.org/DTD/pap_1.0.dtd";>
<pap>
<push-message push-id="[email protected]"
deliver-before-timestamp="2001-09-28T06:45:00Z"
deliver-after-timestamp="2001-02-28T06:45:00Z"
progress-notes-requested="false">
<address address-value="WAPPUSH =+358408676001/[email protected]">
</address>
<quality-of-service
priority="low"
delivery-method="unconfirmed"
network-required="true"
network="GSM"
bearer-required="true"
bearer="SMS">
</quality-of-service>
</push-message>
</pap>
Does anyone else get this or have I missed something dumb please?
_______________________________________________________________________
Freeserve AnyTime, only £13.99 per month with one month's FREE trial!
For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890