������!
��� ����������� � 1.2d.
���� ��������� � ������ �������, ����������� ��������� ��� ����������
(��������: http://208.231.90.229/IBSDEMO2.HTM)
������ - � �������, ����������� Connection: Keep-Alive, ���� ����
���� ��������� Connection: Close
(��������: http://www.securityfocus.com/new.html)
������� ��������� �� ��� ����.
Igor Khasilev |
PACO Links, [EMAIL PROTECTED] |
*** http_utils.c.orig Sat Dec 11 16:44:29 1999
--- http_utils.c Sat Dec 11 16:47:15 1999
***************
*** 1139,1145 ****
change_state(obj, OBJ_READY);
goto error;
}
! if ( check_server_headers(&answ_state, obj, obj->container) ) {
my_log("check_server_headers\n");
/*
If we can't parse server header - let client do it.
--- 1139,1145 ----
change_state(obj, OBJ_READY);
goto error;
}
! if ( (obj->state < OBJ_INPROGR) && check_server_headers(&answ_state, obj,
obj->container) ) {
my_log("check_server_headers\n");
/*
If we can't parse server header - let client do it.
***************
*** 1472,1480 ****
goto done;
}
if ( TEST(obj->flags, ANSW_KEEP_ALIVE) && obj->content_length) {
! if ( sended >= obj->container->used + obj->content_length )
! change_state(obj, OBJ_READY);
! goto done;
}
}
if ( so == -1 ) {
--- 1472,1481 ----
goto done;
}
if ( TEST(obj->flags, ANSW_KEEP_ALIVE) && obj->content_length) {
! if ( sended >= obj->container->used + obj->content_length ) {
! change_state(obj, OBJ_READY);
! goto done;
! }
}
}
if ( so == -1 ) {