On Sun, 13 Aug 2000, Neilson Henriques wrote:
Hi!
Try to apply attached patch. inform me if not helps. Hotmail recently
changed something on their site, and this bring to light one bug in code.
If patch will fail to apply, it is safe to take
http://zipper.paco.net/~igor/oops/oops-1.4.12.tar.gz
> Hi !!
>
> I don't know if it is a misconfiguration in my server or a problem
> but I've two machines running Oops + Solaris 8 and both don't
> access www.hotmail.com. Looking at oops.log (running with -xa
> option) I see lines like that:
>
> Sat Jan 3 18:48:37 1998 [3f8]check_headers(): ---> `Accept: image/gif,
>image/x-xbitmap, image/jpeg, image/p
> Sat Jan 3 18:48:37 1998 [3f8]check_headers(): ---> `Accept-Language: pt-br'
> Sat Jan 3 18:48:37 1998 [3f8]check_headers(): ---> `Accept-Encoding: gzip, deflate'
> Sat Jan 3 18:48:37 1998 [3f8]check_headers(): ---> `User-Agent: Mozilla/4.0
>(compatible; MSIE 5.0; Windows
> Sat Jan 3 18:48:37 1998 [3f8]check_headers(): ---> `Host: www.hotmail.com'
> Sat Jan 3 18:48:37 1998 [3f8]check_headers(): ---> `Connection: Keep-Alive'
> Sat Jan 3 18:48:37 1998 [3f8]redir(): redir/transparent called.
> Sat Jan 3 18:48:37 1998 [3f8]redir(): transparent: my.
> Sat Jan 3 18:48:37 1998 [3f8]deny_http_access(): Connect from 200.219.191.33 -
>group [paco]
> Sat Jan 3 18:48:37 1998 [3f8]lookup_dns_cache(): It's here
> Sat Jan 3 18:48:39 1998 [3f8]analyze_header(): ---> `HTTP/1.1 302 Redirected'.
> Sat Jan 3 18:48:39 1998 [3f8]analyze_header(): Status code: 302
> Sat Jan 3 18:48:39 1998 [3f8]analyze_header(): ---> `Server: Microsoft-IIS/5.0'.
> Sat Jan 3 18:48:39 1998 [3f8]analyze_header(): ---> `Date: Mon, 14 Aug 2000
>18:32:28 GMT'.
> Sat Jan 3 18:48:39 1998 [3f8]analyze_header(): ---> `Location:
>http://lc4.law5.hotmail.passport.com/cgi-bin
> Sat Jan 3 18:48:39 1998 [3f8]readt(): got: 0, tmo: 600, to_read: 2048
> Sat Jan 3 18:48:39 1998 [3f8]send_not_cached(): not_cached done.
>
> My browser says that is a problem resolving DNS or the server is
> unreachable. My DNS servers can resolve the host successfully and
> HotMail is obviously on-line.
> If I remove proxy from browser configuration the problem is
> removed too ! :-(
>
> Does anybody knows what is going wrong ????
>
> Thanks in advance for any help ...
>
> Neilson
>
>
> =====================================================================
> If you would like to unsubscribe from this list send message to
> [EMAIL PROTECTED] with "unsubscribe oops-eng" in message body.
> Archive is accessible on http://www.paco.net/oops/
>
Igor Khasilev |
PACO Links, [EMAIL PROTECTED] |
Index: http_utils.c
===================================================================
RCS file: /usr/local/cvs/oops/src/http_utils.c,v
retrieving revision 1.28
diff -c -r1.28 http_utils.c
*** http_utils.c 2000/07/14 07:51:12 1.28
--- http_utils.c 2000/08/11 20:09:21
***************
*** 1409,1414 ****
--- 1409,1416 ----
obj->flags |= FLAG_DEAD;
}
change_state(obj, OBJ_READY);
+ if ( !send_hot_buff && (sended == 0) )
+ send_hot_buff = obj->container;
while( (so != -1) && send_hot_buff &&
(received > sended) && (rest_in_chunk != -1)) {
unsigned int ssended;
***************
*** 2999,3007 ****
/* we don't received Expires - try to use Last-Modified */
if ( obj->times.last_modified ) {
int LM_AGE;
! LM_AGE = obj->times.date - obj->times.last_modified;
if ( LM_AGE > 0 ) {
! tmpexpires = lmt*LM_AGE;
if ( (tmpexpires>min) && (tmpexpires<max) ) {
obj->times.expires = obj->times.date+tmpexpires;
expires_altered = TRUE;
--- 3001,3010 ----
/* we don't received Expires - try to use Last-Modified */
if ( obj->times.last_modified ) {
int LM_AGE;
!
! LM_AGE = obj->times.date - obj->times.last_modified;
if ( LM_AGE > 0 ) {
! tmpexpires = (lmt*LM_AGE)/100;
if ( (tmpexpires>min) && (tmpexpires<max) ) {
obj->times.expires = obj->times.date+tmpexpires;
expires_altered = TRUE;