Yannick Koehler | 5 Sep 2002 15:31

scary warning inside 5.4.0


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../src  -I../../modules/expat/xmlparse  
- -I./../src/SSL    -march=i686 -O3 -pipe -Wall -c wwwssl.c
rdf_parse_buffer.c: In function `parse_buffer':
rdf_parse_buffer.c:104: warning: control reaches end of non-void function

- -- 

Yannick Koehler
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9d1yofuKOJNEyL1URAoFgAJ9CocgAuDQectK9X710qiIuAbL1oQCfe/PS
oQUFPL1DGF/vWqp9WbQ+Ob4=
=LK82
-----END PGP SIGNATURE-----

Deepa R | 7 Sep 2002 14:42
Picon
Favicon

compiling w3c-libww-5.4.0


Hi,

I get teh error while building libwww-5.4.0, can
anyone help me out?

Thanks,
Deepa

Linking...
wwwcache.def : error LNK2001: unresolved external
symbol HTCache_resetMeta
..\..\..\Bin/wwwcache.lib : fatal error LNK1120: 1
unresolved externals
LINK : fatal error LNK1141: failure during build of
exports file
Error executing link.exe.

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

Richard Atterer | 8 Sep 2002 23:47

Re: scary warning inside 5.4.0


On Thu, Sep 05, 2002 at 09:31:20AM -0400, Yannick Koehler wrote:
> rdf_parse_buffer.c:104: warning: control reaches end of non-void function

That's not something to lose any sleep over: It's a bug (IMHO) and
should be fixed, but the file is only part of the libwww examples, not
of the library itself...

Cheers,

  Richard

--

-- 
  __   _
  |_) /|  Richard Atterer     |  CS student at the Technische  |  GnuPG key:
  | \/¯|  http://atterer.net  |  Universität München, Germany  |  0x888354F7
  ¯ '` ¯

Marc Jacquin | 9 Sep 2002 18:17

<none>

Hi listers,

My purpose is to set up a sort of relay between an HTTP server and an
application server so that a GET or POST query is redirected. From what I
saw in libwww this could be developped quite quickly except maybe for
cookies.

Is there any framework that would help me ?

Thanks,

Marc

Sayyed Jamal Pishvayi | 10 Sep 2002 14:34
Picon
Favicon

Ommitting scripts from content


Hi dear friends,

  I have a problem with retrieving html page 
contents and I want to know how can I change 
showtext.c example to don't show contents of 
script tags as page content,
  I'm very thankfull for your helps!

--jamal

__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute

Tim Yu (HangZhou | 10 Sep 2002 12:06
Picon

can't download file from windows IIS ftp server.


dear all:
	when I use example LoadToFile.c download the file from ftp server. I
can't download the file from windowns IIS ftp server,but I can download on
the other ftp server.Please tell me how to fix it .Thank you.

Sinha, Raj (Raj | 10 Sep 2002 18:50
Favicon

RE: POST Problems in 5.3.2 Where is the Body???

 

Hi All

 

Post Does not seem to work. After I call HTPostFormAbsolute . The Libwww seems to send the header information to the web server and the web server returns a 100 Continue….

 

The Body is never send back to the web server. Please don’t mind the extra traces I put in.

 

I also do not understand the significance of HTSimplify.. `file:/tmp/tmp00001' into

............ `file:/tmp/tmp00001'

 

Thanks for all the help

 

Here is the trace from the trial:

 

 

HTSimplify.. `http://135.8.28.94/form/login.asp' into

............ `http://135.8.28.94/form/login.asp'

HTSimplify.. `file:/tmp/tmp00001' into

............ `file:/tmp/tmp00001'

HTAccess.... Accessing document http://135.8.28.94/form/login.asp

Net Before.. calling 0xcb1ff8 (request 0xbc8aa8, context 0x0)

Check rules. for `http://135.8.28.94/form/login.asp'

Net Before.. calling 0xcb28b0 (request 0xbc8aa8, context 0x0)

URL Tree.... did NOT find `w3c-AA'

Credentials. verified

Net Before.. calling 0xccacac (request 0xbc8aa8, context 0x0)

PEP Engine.. Looking for info on `http://135.8.28.94/form/login.asp'

URL Tree.... did NOT find `w3c-pep'

PEP Engine.. No information

Net Before.. calling 0xcb1e94 (request 0xbc8aa8, context 0x0)

Net Object.. 0xbc7d44 created with hash 2

Net Object.. starting request 0xbc8aa8 (retry=1) with net object 0xbc7d44

HTTP........ Looking for `http://135.8.28.94/form/login.asp'

HTTPEvent... state=HTTP_BEGIN

HTHost parse Looking up `135.8.28.94' on port 80

Host info... REUSING CHANNEL 0xbdcd6c

Host info... Added Net 0xbc7d44 (request 0xbc8aa8) to pipe on Host 0xbdcf40, 3 requests made, 1 requests in pi

pe, 0 pending

Timer....... Deleted active timer 0xbc93a4

HTHost...... No ActivateRequest callback handler registered

Channel..... Semaphore increased to 1 for channel 0xbdcd6c

Host connect Unlocking Host 0xbdcf40

HTTPEvent... state=HTTP_NEED_STREAM

StreamStack. Constructing stream stack for text/x-http to www/present

Tee......... Created stream 0xbc93a8 with resolver 0xca9c04

HTTP........ Dumping response to `w3chttp.out'

Tee......... Created stream 0xbda1a0 with resolver 0xca9c04

HTTP........ Dumping request to `w3chttp.out'

HTTPEvent... state=HTTP_CONNECTED

HTTP........ Generating HTTP/1.x Request Headers

HTTP........ Generating General Headers

MIME........ Generating Entity Headers

Buffer...... Flushing 0xbdcd2c

Write Socket 287 bytes written to 19

Alert Call.. No entry found for opcode 16

HTTPEvent... pcbf not null

HTTPEvent... http->locke = NO

Timer....... Created one shot timer 0xbc90c8 with callback 0xcce660, context 0xbdddf0, and relative timeout 20

00

Uploading... Holding 0xbdddf0 for 2000 ms using time 0xbc90c8

Event....... Register socket 19, request 0xbc8aa8 handler 0xc8dcec type HTEvent_READ at priority 20

Event....... Registering socket for HTEvent_READ

Event....... New value for MaxSock is 19

Timer....... Created repetitive timer 0xbc89cc with callback 0xcaf820, context 0xbc7c50, and relative timeout

15000

HTTPEvent... state=HTTP_CONNECTED

HTTPEvent... in HTTP_CONNECTED calling HTHost_read

Read Socket. 89 bytes read from socket 19

Alert Call.. No entry found for opcode 8

Response.... Created 0xbc7bc8

Host info... New mode is 1 for host 0xbdcf40

Host info... 0xbdcf40 already 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 0xbcab04

Host........ 66 bytes remaining

MIME header. Server: Microsoft-IIS/5.0

MIME header. Server: Microsoft-IIS/5.0

MIME header. Date: Mon, 24 Jun 2002 21:30:07 GMT

MIME header. Date: Mon, 24 Jun 2002 21:30:07 GMT

Host........ passing 66 bytes as consumed to 0xbcab04

Host........ 0 bytes remaining

MIME........ FREEING....

Read Socket. CONTINUE

 

 

 

 

Raj Sinha

 

 

Denis Froschauer | 13 Sep 2002 16:42

Re: Get xml source of post result


I had encountered the same issue.
I have simply removed the line and it works ! (I don't explain why) :
	print "Content-type: text/xml\n\n";

Denis Froschauer | 13 Sep 2002 17:14

Re: Can anyone produce an HTPostAnchorToChunk that works?


Hi!

This code works but it depends of the cgi.
For example, if you add the following line in your php code, then the chunk
data is NULL
	print "Content-type: text/xml\n\n";

if you remove it, the chunk data is ok.

You are right, people speak about HTPostAnchorToChunk for a while but no one
has patched the cvs code for now.

Denis

Denis Froschauer | 13 Sep 2002 17:27

Re: Bug in HTCache?


I encounter the same bug with an ETag containing ';'.
Thank you for your patch James !
May be someone could update the cvs database.


Gmane