From owner-freebsd-openoffice Fri Aug 16 14: 3:17 2002 Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21FEB37B400 for ; Fri, 16 Aug 2002 14:03:13 -0700 (PDT) Received: from tomts5-srv.bellnexxia.net (tomts5.bellnexxia.net [209.226.175.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D2AB43E4A for ; Fri, 16 Aug 2002 14:03:12 -0700 (PDT) (envelope-from kevin.hendricks@sympatico.ca) Received: from localhost.localdomain ([65.93.133.235]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020816210229.GTJ11089.tomts5-srv.bellnexxia.net@localhost.localdomain>; Fri, 16 Aug 2002 17:02:29 -0400 Content-Type: text/plain; charset="iso-8859-1" From: "Kevin B. Hendricks" To: dev@porting.openoffice.org, Martin Blapp Subject: Re: [porting-dev] FreeBSD and webdav problems Date: Fri, 16 Aug 2002 17:00:15 -0400 X-Mailer: KMail [version 1.4] Cc: , References: <20020816210929.B17516-100000@levais.imp.ch> <200208161642.08969.kevin.hendricks@sympatico.ca> In-Reply-To: <200208161642.08969.kevin.hendricks@sympatico.ca> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208161700.15381.kevin.hendricks@sympatico.ca> Sender: owner-freebsd-openoffice@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, Here is the loop (BTW: his looks like one of those "invisible tracking" gifs.) It says it is sending 1023 bytes but only 1 byte is ever received. Aslo it says the content is text/xml when it should be binary data I believe isn't it? In fact, it always says it received just 1 byte but it never then requests lthe remaining 1022 ... hmmm Also was is an HTML error "302". Hmm Kevin ---snip outtake from webdavdebug.out--- Request: PROPFIND /blank.gif Running pre_send hooks Not handling session. Sending request headers: PROPFIND /blank.gif HTTP/1.1 Keep-Alive: Connection: TE, Keep-Alive TE: trailers Depth: 0 Content-Length: 85 Content-Type: text/xml Host: heise.ivwbox.de Sending headers: attempt 0 Connecting to server at heise.ivwbox.de:80... Request sent Sending body... Sending body: sock_send_string returns: 0 Body sent. [Status Line] < HTTP/1.0 302 FOUND [Header:17] < Server: IVW/1.0 Header Name: [server], Value: [IVW/1.0] [Header:37] < Date: Fri, 16 Aug 2002 11:40:08 GMT Header Name: [date], Value: [Fri, 16 Aug 2002 11:40:08 GMT] [Header:78] < P3P: policyref="http://www.ivwbox.de/p3p.xml", CP="NOI DSP PSAo OUR NOR UNI" Header Name: [p3p], Value: [policyref="http://www.ivwbox.de/p3p.xml", CP="NOI DSP PSAo OUR NOR UNI"] [Header:18] < Pragma: no-cache Header Name: [pragma], Value: [no-cache] [Header:12] < Expires: 0 Header Name: [expires], Value: [0] [Header:42] < Set-Cookie: ivw=002f3d5ce498ea20; path=/ Header Name: [set-cookie], Value: [ivw=002f3d5ce498ea20; path=/] [Header:22] < Location: /blank.gif Header Name: [location], Value: [/blank.gif] [Header:26] < Content-Type: text/plain Header Name: [content-type], Value: [text/plain] [Header:2] < End of headers. Reading 1023 bytes of response body. Got 1 bytes. Read block: Digesting 1 bytes of response body. Reading 1023 bytes of response body. read returned zero. Got EOF. Read block: Digesting 0 bytes of response body. Response: 302 FOUND Running post_send hooks Connection status: no forced close, persistent connection, pre-HTTP/1.1 Closing connection. Connection closed. Request: PROPFIND /blank.gif Running pre_send hooks Not handling session. Sending request headers: PROPFIND /blank.gif HTTP/1.1 Keep-Alive:On August 16, 2002 04:42, Kevin B. Hendricks wrote: > On August 16, 2002 03:14, Martin Blapp wrote: > Hi Martin > > Both my OOo 1.0.1 build and my OO642C build hang on that nastly page. > So whatever the problem is, it is not FreeBSD specific. > > You might want to file a full issuezilla to track this and assign it to > the webdav team. > > I will look at webdavdebug.out and the code later this weekend when I > have a moment. > > Thanks, > > Kevin > > > Hi, > > > > > The question I have here is why this socket is set to be > > > non-blocking. Is this something port specific for FreeBSD? Where is > > > the f cntl done on the socket fd that makes it non-blocking? > > > > I know more now. The threaded library does return 0 as it should. If > > you trace the process, you will see connect() return EINPROGRESS of > > course, since we have a userland threads library :-/ > > > > So this works as exprected, and in GDB I see connect() return 0. My > > fault. > > > > I have now a debug neon/webdav output. Maybe someone else can tell me > > why this loops on the blank.gif picture ? > > > > Host was http://www.heise.de. Can you try this URL too in your OO.org > > ? > > > > http://people.freebsd.org/~mbr/logs/webdavdebug.out > > > > Martin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@porting.openoffice.org > For additional commands, e-mail: dev-help@porting.openoffice.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message