- From: matias <matias@movilogic.com>
- Date: Fri, 20 Aug 1999 18:54:20 -0400 (EDT)
- To: www-lib@w3.org
- Message-ID: <37BDACA6.78E1869@movilogic.com>
I'm using a postform sample , to post some data to my cgi. It has been working pretty good , but i think that it is not working as fast as get method does. Here is the trace file.....called salida. I hope some expert could help me ! Does not anybody note that the get is fast that the post method ??? Did anybody solve this ? There is any modification I can make to make a post method fast ? regards !! Mat
Net After... Add 0x80491d0 with order 65535 tmplate `<null>' code 1 context (nil) Host........ Setting event timeout to 20000 ms Request..... Created 0x804f1c0 ChunkStream. Chunk 0x804f108 created with max size 0 HTAccess.... Accessing document http://localhost/cgi-bin/demo/cgi-demo/get_cards Net Before.. calling 0x40028e98 (request 0x804f1c0, context (nil)) Net Before.. calling 0x40029394 (request 0x804f1c0, context (nil)) URL Tree.... did NOT find `w3c-AA' Credentials. verified Net Before.. calling 0x4006f01c (request 0x804f1c0, context (nil)) URL Tree.... did NOT find `w3c-pep' Net Before.. calling 0x40028ddc (request 0x804f1c0, context (nil)) Net Object.. 0x8050178 created with hash 0 Net Object.. starting request 0x804f1c0 (retry=1) with net object 0x8050178 HTTP........ Looking for `http://localhost/cgi-bin/demo/cgi-demo/get_cards' HTHost parse Looking up `localhost' on port 80 Event....... Created event 0x8050cf8 with context 0x8050c40, priority 20, and timeout 20000 Event....... Created event 0x8050d10 with context 0x8050c40, priority 20, and timeout 20000 Event....... Created event 0x8050d28 with context 0x8050c40, priority 20, and timeout 20000 Host info... added `localhost' with host 0x8050c40 to list 0x804ff40 Host connect Grabbing lock on Host 0x8050c40 with 0x8050178 Host info... Added Net 0x8050178 (request 0x804f1c0) to pipe on Host 0x8050c40, 1 requests made, 1 requests in pipe, 0 pending HTHost...... No ActivateRequest callback handler registered HTHost 0x8050c40 going to state TCP_CHANNEL. HTHost 0x8050c40 going to state TCP_DNS. Looking up localhost DNS Add..... `localhost' with 1 home(s) to 0x8050e70 ParseInet... as port 80 on 127.0.0.1 with 1 homes HTHost 0x8050c40 going to state TCP_NEED_SOCKET. Socket...... Created 3 Net Manager. Increasing active sockets to 1, 0 persistent sockets Socket...... Turned off Nagle's algorithm Socket...... Non-blocking socket Channel..... Hash value is 3 Channel..... Added 0x8051ee8 to list 0x8051ed8 Reader...... Created reader stream 0x8051f28 Socket...... TCP send buffer size is 65535 for socket 3 Contacting localhost HTHost 0x8050c40 going to state TCP_NEED_CONNECT. HTDoConnect. WOULD BLOCK `localhost' Host Event.. WRITE passed to `http://localhost/cgi-bin/demo/cgi-demo/get_cards' HTHost 0x8050c40 going to state TCP_CONNECTED. HTHost 0x8050c40 connected. Host connect Unlocking Host 0x8050c40 StreamStack. Constructing stream stack for text/x-http to */* Tee......... Created stream 0x806a108 with resolver 0x40097578 HTTP........ Dumping response to `w3chttp.out' Tee......... Created stream 0x806a130 with resolver 0x40097578 HTTP........ Dumping request to `w3chttp.out' HTTP........ Generating HTTP/1.x Request Headers HTTP........ Generating General Headers MIME........ Generating Entity Headers Buffer...... Flushing 0x8059f48 Write Socket 286 bytes written to 3 Writing 1Kbytes Uploading... Holding 0x804ffa0 for 2000 ms using time 0x806a258 Read Socket. WOULD BLOCK fd 3 Host Event.. READ passed to `http://localhost/cgi-bin/demo/cgi-demo/get_cards' Read Socket. 25 bytes read from socket 3 Reading... Response.... Created 0x806a310 Host info... New mode is 1 for host 0x8050c40 Net Manager. 1 active sockets, increasing persistent sockets to 1 Host info... added host 0x8050c40 as persistent Net Object.. Persistent connection set ON succeeded StreamStack. Constructing stream stack for message/x-rfc822-cont to www/debug Host........ passing 23 bytes as consumed to 0x8051f28 Host........ 2 bytes remaining Host........ passing 2 bytes as consumed to 0x8051f28 Host........ 0 bytes remaining MIME........ FREEING.... Read Socket. CONTINUE HTTP........ Continuing Read Socket. WOULD BLOCK fd 3 Uploading... Flushing 0x804ffa0 with timer 0x806a258 Posting Data Target is SAVED Buffer...... Flushing 0x8059f48 Write Socket 2 bytes written to 3 Writing 1Kbytes Uploading... Callback returned 200 Host Event.. READ passed to `http://localhost/cgi-bin/demo/cgi-demo/get_cards' Read Socket. 1100 bytes read from socket 3 Reading... Host info... New mode is 1 for host 0x8050c40 Host info... 0x8050c40 already persistent Net Object.. Persistent connection set ON succeeded StreamStack. Constructing stream stack for message/rfc822 to */* Error....... Add 2 Severity: 8 Parameter: `OK' Where: `HTTPNextState' Host........ passing 17 bytes as consumed to 0x8051f28 Host........ 1083 bytes remaining MIME header. Date: Fri, 20 Aug 1999 19:15:43 GMT MIME header. Server: Apache/1.3.6 (Unix) PHP/3.0.12 mod_ssl/2.3.11 OpenSSL/0.9.3a MIME header. Keep-Alive: timeout=15, max=100 MIMEParser.. Timeout after 15 secs MIMEParser.. Max 100 requests pr connection MIME header. Connection: Keep-Alive MIMEParser.. HTTP/1.0 Keep Alive ignored MIME header. Transfer-Encoding: chunked MIME header. Content-Type: text/html Building.... C-T stack from text/html to */* StreamStack. Constructing stream stack for text/html to */* StreamStack. Source output Building.... Content-Decoding stack Building.... Transfer-Decoding stack C-E......... Looking for `chunked' C-E......... Found... Chunked..... Decoder stream created Host........ passing 219 bytes as consumed to 0x8051f28 Host........ 864 bytes remaining Chunked..... `354' chunk size: 354 Host........ passing 5 bytes as consumed to 0x8051f28 Host........ 859 bytes remaining Host........ passing 852 bytes as consumed to 0x8051f28 Host........ 7 bytes remaining Chunked..... `0' chunk size: 0 Host........ passing 5 bytes as consumed to 0x8051f28 Host........ 2 bytes remaining Host........ passing 2 bytes as consumed to 0x8051f28 Host........ 0 bytes remaining Done! Read Socket. Target returns 200 HTTP Clean.. Called with status 200, net 0x8050178 Net Object.. Delete 0x8050178 and call AFTER filters Host info... Remove 0x8050178 from pipe Host Object. keeping persistent socket 3 Channel..... Delete 0x8051ee8 with semaphore 1 Chunked..... FREEING.... MIME........ FREEING.... Channel..... Semaphore decreased to 0 for channel 0x8051ee8 Host........ Object 0x8050c40 going idle... Net Object.. Check for pending Net objects Net Object.. Freeing object 0x8050178 Net After... calling 0x40029440 (request 0x804f1c0, response 0x806a310, status 200, context (nil)) Net After... calling 0x4006f0b4 (request 0x804f1c0, response 0x806a310, status 200, context (nil)) Net After... calling 0x40028fb0 (request 0x804f1c0, response 0x806a310, status 200, context (nil)) Load End.... OK: `http://localhost/cgi-bin/demo/cgi-demo/get_cards' Net After... calling 0x80491d0 (request 0x804f1c0, response 0x806a310, status 200, context (nil)) <html> <body> <meta name="accountinfo" content="cuenta=adorroenpesos;nro=001;saldo=99319;"> <meta name="accouNtinfo" content="cuenta=adorroenU$S;nro=002;saldo=88754;"> <meta name="ACCOUNTINFO" content="nro=003;saldo=900647;cuenta=Pfijo;"> <meta name="serviceinfo" content="servicio=SEgba;saldo=0;venc=2;"> <meta name="serviceinfo" content="servicio=OSN;saldo=0;venc=1;"> <meta name="creditcardinfo" content="tarj=VISA;id=200;saldo=50;venc=0;"> <meta name="creditcardinfo" content="tarj=MASTER;id=100;saldo=0;venc=0;"> <meta name="serviceinfo" content="servicio=Cable;saldo=0;venc=0;"> <meta name="message" content="msG=Mickey Mouse es Taxi Boy !;"> <meta name="banner" content="data=VISA , All the future in your hands !"> <meta name="HHBRESULTADOSSERVICIOS" content="Barbaro !;"> Hola !!! <meta name="HHBRESULT" content="Barbaro ;"> </body> </html> Request..... Delete 0x804f1c0 Request..... Deleting dangling output stream Chunkstream. FREEING... Response.... Delete 0x806a310 WWWLibTerm.. Cleaning up LIBRARY OF COMMON CODE Net Object.. Kill ALL Net objects!!! Channel..... Delete 0x8051ee8 with semaphore 0 Socket read. FREEING.... Socket write FREEING.... Net Manager. Decreasing active sockets to 0, 1 persistent sockets Channel..... Deleted 0x8051ee8, socket 3 Event....... Deleted event (nil) Event....... Deleted event (nil) Event....... Deleted event (nil) --------------3CC9445C8DE6FEE70368F4D2-
Received on Friday, 20 August 1999 18:55:34 UTC