W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2001

comline util & redirection

From: Sanjeev Dhar <sanjeev_dhar@isis.com.sg>
Date: Thu, 31 May 2001 06:27:50 -0400 (EDT)
To: <www-lib@w3.org>
Message-ID: <NDBBIGPLJKDKKKDIEONLEEOGCFAA.sanjeev_dhar@isis.com.sg>
Hi,
i am trying to use the comline utility using the get method. It works fine
until there is a re-direct from the host.
When i use the following URL; it just ends up waiting for some event and
hangs there??

Please let me know if this can be done using the comline tool? and if not,
what do i need to do to get this working.

****************************************************************************
****************

C:\TEMP\Debug>comline -vabcgpstu -get http://paybills.myeg.com.
my/sfi/ebpp/payment.php -form "userid=nicholas" "transactid=123"
"grand_total=6.
4" "paymentmode=C" "expirymnth=1" "expiryyr=2001" "pan=4570701017244000"
"conven
ience_fees=4.00" "summonscount=2" "summonsid1=1066220000009988"
"amtpd1=1.20" "s
ummonsid2=1066990000007765" "amtpd2=1.20" -r rules.conf -o
HTSimplify.. `http://paybills.myeg.com.my/sfi/ebpp/payment.php' into
............ `http://paybills.myeg.com.my/sfi/ebpp/payment.php'
Find Parent. 00C00830 with hash 195 and address
`http://paybills.myeg.com.my/sfi
/ebpp/payment.php' created
HTSimplify.. `file:/C:/TEMP/Debug/rules.conf' into
............ `file:/C:/TEMP/Debug/rules.conf'
Find Parent. 00C016F0 with hash 302 and address
`file:/C:/TEMP/Debug/rules.conf' created
HTAccess.... Accessing document file:/C:/TEMP/Debug/rules.conf
HTLoadFile.. Looking for `file:/C:/TEMP/Debug/rules.conf'
Load File... Found `C:\TEMP\VCOSHTTPLine\Bin\Debug\rules.conf'
Anchor...... Get bindings for `/C:/TEMP/Debug/rules.conf'
Get Binding. Look for 'conf' Found!
Get Binding. Result for '/rules.conf' is: type='application/x-www-rules',
encodi
ng='unknown', cte='8bit', language='unknown' with quality 1.00
HTDoOpen.... `C:\TEMP\Debug\rules.conf' opened using FILE 10261
888
Channel..... Hash value is 32
Channel..... Added 00C02D20 to list 00C013D0
Read (100% of 1K)
HTSimplify.. `http://proxy.pacific.net.sg:8080/' into
............ `http://proxy.pacific.net.sg:8080/'
HTProxy..... adding for `http://proxy.pacific.net.sg:8080/' access http
HTSimplify.. `http://proxy.pacific.net.sg:8080/' into
............ `http://proxy.pacific.net.sg:8080/'
HTProxy..... adding for `http://proxy.pacific.net.sg:8080/' access ftp
ANSI read... Finished loading file 10261888
Done!
Channel..... Semaphore set to 0 for channel 00C02D20
Channel..... Delete 00C02D20 with semaphore 0, status 200
Channel..... Delete input stream 00F10060 from channel 00C02D20
HTSimplify.. `http://proxy.pacific.net.sg:8080/' into
............ `http://proxy.pacific.net.sg:8080/'
HTProxy..... adding for `http://proxy.pacific.net.sg:8080/' access gopher
Channel..... Delete input stream 00F10060 from channel 00C02D20
ANSI read... FREEING...
ANSI write.. FREEING...
Channel..... Deleted 00C02D20, file 10261888
Load End.... OK: `file:/C:/TEMP/VCOSHTTPLine/Bin/Debug/rules.conf'
HTSimplify..
`http://paybills.myeg.com.my/sfi/ebpp/payment.php?userid=nicholas&t
ransactid=123&grand_total=6.4&paymentmode=C&expirymnth=1&expiryyr=2001&pan=4
5707
01017244000&convenience_fees=4.00&summonscount=2&summonsid1=1066220000009988
&amt
pd1=1.20&summonsid2=1066990000007765&amtpd2=1.20' into
............
`http://paybills.myeg.com.my/sfi/ebpp/payment.php?userid=nicholas&t
ransactid=123&grand_total=6.4&paymentmode=C&expirymnth=1&expiryyr=2001&pan=4
5707
01017244000&convenience_fees=4.00&summonscount=2&summonsid1=1066220000009988
&amt
pd1=1.20&summonsid2=1066990000007765&amtpd2=1.20'
Find Parent. 00C029F0 with hash 452 and address
`http://paybills.myeg.com.my/sfi
/ebpp/payment.php?userid=nicholas&transactid=123&grand_total=6.4&paymentmode
=C&e
xpirymnth=1&expiryyr=2001&pan=4570701017244000&convenience_fees=4.00&summons
coun
t=2&summonsid1=1066220000009988&amtpd1=1.20&summonsid2=1066990000007765&amtp
d2=1
.20' created
HTAccess.... Accessing document
http://paybills.myeg.com.my/sfi/ebpp/payment.php
?userid=nicholas&transactid=123&grand_total=6.4&paymentmode=C&expirymnth=1&e
xpir
yyr=2001&pan=4570701017244000&convenience_fees=4.00&summonscount=2&summonsid
1=10
66220000009988&amtpd1=1.20&summonsid2=1066990000007765&amtpd2=1.20
GetProxy.... Found: `http://proxy.pacific.net.sg:8080/'
Credentials. verified
HTTP........ Looking for
`http://paybills.myeg.com.my/sfi/ebpp/payment.php?useri
d=nicholas&transactid=123&grand_total=6.4&paymentmode=C&expirymnth=1&expiryy
r=20
01&pan=4570701017244000&convenience_fees=4.00&summonscount=2&summonsid1=1066
2200
00009988&amtpd1=1.20&summonsid2=1066990000007765&amtpd2=1.20'
HTHost parse Looking up `proxy.pacific.net.sg' on port 8080
HTHost 00C03AE0 going to state TCP_CHANNEL.
HTHost 00C03AE0 going to state TCP_DNS.
Looking up proxy.pacific.net.sg
Looking up proxy.pacific.net.sg
DNS Add..... `proxy.pacific.net.sg' with 1 home(s) to 00C03760
HTHost 00C03AE0 going to state TCP_NEED_SOCKET.
Socket...... Created 48
Socket...... Turned off Nagle's algorithm
Socket...... Non-blocking socket
Channel..... Hash value is 48
Channel..... Added 00C03520 to list 00C03580
Reader...... Created reader stream 00F10060
Socket...... TCP send buffer size is 8192 for socket 48
Contacting proxy.pacific.net.sg
HTHost 00C03AE0 going to state TCP_NEED_CONNECT.
Event....... Register socket 48, request 00000000 handler 0025C3D0 type
HTEvent_
CLOSE at priority 20
Event....... Registering socket for HTEvent_CLOSE
Timer....... Created repetitive timer 00C032D0 with callback 10005A80,
context 0
0C033A0, and relative timeout 20000
Event....... Register socket 48, request 00BF1090 handler 0025C3D0 type
HTEvent_
CONNECT at priority 20
Event....... Registering socket for HTEvent_CONNECT
Timer....... Created repetitive timer 00C03240 with callback 10005A80,
context 0
0C033A0, and relative timeout 20000
HTDoConnect. WOULD BLOCK `proxy.pacific.net.sg'
Timer....... Found timer 00C03240 with callback 10005A80, context 00C033A0,
and
relative timeout 20000
HTHost 00C03AE0 going to state TCP_CONNECTED.
Timer....... Deleted active timer 00C03240
Event....... Socket 48 unregistered for HTEvent_CONNECT
HTHost 00C03AE0 connected.
Tee......... Created stream 00C03180 with resolver 002E49C0
HTTP........ Dumping response to `w3chttp.out'
Tee......... Created stream 00C03100 with resolver 002E49C0
HTTP........ Dumping request to `w3chttp.out'
HTTP........ Generating HTTP/1.x Request Headers
HTTP........ Generating General Headers
Buffer...... Flushing 00C03480
Write Socket 445 bytes written to 48
Read Socket. WOULD BLOCK fd 48
Event....... Register socket 48, request 00000000 handler 0025C3D0 type
HTEvent_
CLOSE at priority 20
Event....... Registering socket for HTEvent_CLOSE
Timer....... Found timer 00C032D0 with callback 10005A80, context 00C033A0,
and
relative timeout 20000
Event....... Register socket 48, request 00BF1090 handler 0025C3D0 type
HTEvent_
READ at priority 20
Event....... Registering socket for HTEvent_READ
Timer....... Created repetitive timer 00C004A0 with callback 10005A80,
context 0
0C033A0, and relative timeout 20000
Timer....... Found timer 00C004A0 with callback 10005A80, context 00C033A0,
and
relative timeout 20000
Read Socket. 576 bytes read from socket 48
Reading...
Host info... New mode is 1 for host 00C03AE0
Host........ 556 bytes remaining
MIME header. Date: Thu, 31 May 2001 10:21:04 GMT
MIME header. Date: Thu, 31 May 2001 10:21:04 GMT
MIME header. Server: Apache/1.3.19 (Unix) ApacheJServ/1.1.2 mod_ssl/2.8.1
OpenSS
L/0.9.5a PHP/4.0.3pl1
MIME header. Server: Apache/1.3.19 (Unix) ApacheJServ/1.1.2 mod_ssl/2.8.1
OpenSS
L/0.9.5a PHP/4.0.3pl1
MIME header. X-Powered-By: PHP/4.0.3pl1
MIME header. X-Powered-By: PHP/4.0.3pl1
MIME header. Location:
https://www.800emall.com/servlet/MIAPay?orderdesc=MOSET&m
erchantNumber=4001&accountNumber=4001&redirectURL=http%3A%2F%2Fpaybills.myeg
.com
.my%2Fsfi%2Febpp%2FpayResult.php%3Fuserid%3Dnicholas%26transactid%3D123&orde
rNum
ber=100000367&expiryMonth=&expiryYear=2001&pan=4570701017244000&amount=64&cu
rren
cy=458&brand=VISA&approvalFlag=1&depositFlag=0
MIME header. Location:
https://www.800emall.com/servlet/MIAPay?orderdesc=MOSET&m
erchantNumber=4001&accountNumber=4001&redirectURL=http%3A%2F%2Fpaybills.myeg
.com
.my%2Fsfi%2Febpp%2FpayResult.php%3Fuserid%3Dnicholas%26transactid%3D123&orde
rNum
ber=100000367&expiryMonth=&expiryYear=2001&pan=4570701017244000&amount=64&cu
rren
cy=458&brand=VISA&approvalFlag=1&depositFlag=0
HTSimplify..
`https://www.800emall.com/servlet/MIAPay?orderdesc=MOSET&merchantNu
mber=4001&accountNumber=4001&redirectURL=http%3A%2F%2Fpaybills.myeg.com.my%2
Fsfi
%2Febpp%2FpayResult.php%3Fuserid%3Dnicholas%26transactid%3D123&orderNumber=1
0000
0367&expiryMonth=&expiryYear=2001&pan=4570701017244000&amount=64&currency=45
8&br
and=VISA&approvalFlag=1&depositFlag=0' into
............
`https://www.800emall.com/servlet/MIAPay?orderdesc=MOSET&merchantNu
mber=4001&accountNumber=4001&redirectURL=http%3A%2F%2Fpaybills.myeg.com.my%2
Fsfi
%2Febpp%2FpayResult.php%3Fuserid%3Dnicholas%26transactid%3D123&orderNumber=1
0000
0367&expiryMonth=&expiryYear=2001&pan=4570701017244000&amount=64&currency=45
8&br
and=VISA&approvalFlag=1&depositFlag=0'
Find Parent. 00C04A10 with hash 569 and address
`https://www.800emall.com/servle
t/MIAPay?orderdesc=MOSET&merchantNumber=4001&accountNumber=4001&redirectURL=
http
%3A%2F%2Fpaybills.myeg.com.my%2Fsfi%2Febpp%2FpayResult.php%3Fuserid%3Dnichol
as%2
6transactid%3D123&orderNumber=100000367&expiryMonth=&expiryYear=2001&pan=457
0701
017244000&amount=64&currency=458&brand=VISA&approvalFlag=1&depositFlag=0'
create
d
MIME header. Connection: close
MIME header. Connection: close
MIMEParser.. Close received...
MIME header. Content-Type: text/html
MIME header. Content-Type: text/html
Building.... C-T stack from text/html to www/debug
BlackHole... Converter Created
Building.... Content-Decoding stack
Building.... Transfer-Decoding stack
Host........ 0 bytes remaining
Timer....... Found timer 00C004A0 with callback 10005A80, context 00C033A0,
and
relative timeout 20000
Read Socket. FIN received on socket 48
Timer....... Deleted active timer 00C004A0
Event....... Socket 48 unregistered for HTEvent_READ
Event....... Socket 48 unregistered for HTEvent_WRITE
HTTP Clean.. Called with status 302, net 00C01870
Channel..... Semaphore set to 0 for channel 00C03520
Event....... Socket 48 unregistered for HTEvent_READ
Event....... Socket 48 unregistered for HTEvent_WRITE
Channel..... Delete 00C03520 with semaphore 0, status 302
Channel..... Delete input stream 00F10060 from channel 00C03520
MIME........ FREEING....
Channel..... Delete input stream 00F10060 from channel 00C03520
Socket read. FREEING....
Socket write FREEING....
Channel..... Deleted 00C03520, socket 48
Link create. from anchor 00C029F0 to 00C04A10 with type
TEMPORARY_REDIRECTION, m
ethod GET
HTAccess.... Accessing document
https://www.800emall.com/servlet/MIAPay?orderdes
c=MOSET&merchantNumber=4001&accountNumber=4001&redirectURL=http%3A%2F%2Fpayb
ills
.myeg.com.my%2Fsfi%2Febpp%2FpayResult.php%3Fuserid%3Dnicholas%26transactid%3
D123
&orderNumber=100000367&expiryMonth=&expiryYear=2001&pan=4570701017244000&amo
unt=
64&currency=458&brand=VISA&approvalFlag=1&depositFlag=0
Dispatch.... Handler 00C033A0 NOT called
Dispatch.... Handler 00C033A0 NOT called
Dispatch.... Handler 00C033A0 NOT called
Dispatch.... Handler 00C033A0 NOT called
Timer....... Found timer 00C032D0 with callback 10005A80, context 00C033A0,
and
relative timeout 20000
Timer....... Dispatch timer 00C032D0
Event....... No event for timer 00C032D0 with context 00C033A0
Timer....... Found timer 00C032D0 with callback 10005A80, context 00C033A0,
and
relative timeout 20000
Timer....... Dispatch timer 00C032D0
Event....... No event for timer 00C032D0 with context 00C033A0
Timer....... Found timer 00C032D0 with callback 10005A80, context 00C033A0,
and
relative timeout 20000
Timer....... Dispatch timer 00C032D0
Event....... No event for timer 00C032D0 with context 00C033A0

and it goes on waiting....

****************************************************************************
************




Sanjeev Dhar
AVP ( Systems Engineering )
Isis International Private Limited
133 Cecil Street, #08-02 A/B Keck Seng Tower
Singapore 069535

Phones :  (+65) 2250915 ( W )

Email: Sanjeev_dhar@isis.com.sg at http://www.isis.com.sg
Received on Friday, 1 June 2001 13:39:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:39 GMT