On Tue, 1 Aug 2000, Andy Igoshin wrote:

> �������� ��� ����� ���� � gcc 2.7.2.1 - ��������� lex/yacc/bison ������ ���
> �����, ��� gcc/cygnus ������ �� ���������� ���������, � �������� MSVC � VAC++
> - ��� ���������.

���, ��� ���� ������ � icp.c. ���� ��������.
������� �� ����������!

> 
> 
> On Tue, 1 Aug 2000 12:29:30 +0400 (MSD)
>  Dmitry Morozovsky <[EMAIL PROTECTED]> wrote:
> > On Tue, 1 Aug 2000, Igor Khasilev wrote:
> > 
> > IK> > FreeBSD 3.2-R, DB 2.7.7, gcc 2.7.2.1. ��� ������ �� ���������
> > �������,
> > IK> �����, � ������� - ��� ������ �������?
> > 
> > ������� ����������. �����, ��� � ���������� �������. � ���������, lex/yacc
> > � ���� �����, ������� ���� �� ������. ���������� �����:
> > 
> > peer            proxy.rinet.ru 3128 3130 {
> >                 sibling;
> >                 allow   dstdomain *;
> > }
> > 
> > ��� ���������� ������� allow -- ������������� ������: ���� ������ HEAD,
> > ��� � �������, ������ �� GET ������ � ������� ���� ;)
> > 
> > Sincerely,
> > D.Marck                                   [DM5020, DM268-RIPE, DM3-RIPN]
> > ------------------------------------------------------------------------
> > *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- [EMAIL PROTECTED] ***
> > ------------------------------------------------------------------------
> > 
> > =====================================================================
> > If you would like to unsubscribe from this list send message to
> > [EMAIL PROTECTED] with "unsubscribe oops" in message body.
> > Archive is accessible on http://www.paco.net/oops/
> 
> --
> Andy Igoshin <[EMAIL PROTECTED]>                 Voronezh State University
> Phone: +7 (0732) 522406                  Network Operation Center
> Fax:   +7 (0732) 789820                  Voronezh, Russia
> =====================================================================
> If you would like to unsubscribe from this list send message to
> [EMAIL PROTECTED] with "unsubscribe oops" in message body.
> Archive is accessible on http://www.paco.net/oops/
> 

Igor Khasilev                |
PACO Links, [EMAIL PROTECTED]    |
Index: icp.c
===================================================================
RCS file: /usr/local/cvs/oops/src/icp.c,v
retrieving revision 1.9
diff -c -r1.9 icp.c
*** icp.c       2000/05/09 15:46:16     1.9
--- icp.c       2000/08/01 08:48:37
***************
*** 104,109 ****
--- 104,110 ----
      icp_msg_len               = htons((unsigned short)len);
      icp_rq_n          = qe->rq_n;
      icp_opt           = 0;
+     RDLOCK_CONFIG ;
      peer = peers;
      while ( peer ) {
        if ( rq->request_time - peer->addr_age >= ADDR_AGE ) {
***************
*** 131,137 ****
            pthread_mutex_unlock(&icp_resolver_lock);
        }
        /* skip if we don't want to use this peers for this domain */
!       if ( !is_domain_allowed(rq->url.host, peer->acls) ) {
            peer = peer->next;
            continue;
        }
--- 132,138 ----
            pthread_mutex_unlock(&icp_resolver_lock);
        }
        /* skip if we don't want to use this peers for this domain */
!       if ( peer->acls && !is_domain_allowed(rq->url.host, peer->acls) ) {
            peer = peer->next;
            continue;
        }
***************
*** 148,153 ****
--- 149,155 ----
        peer->rq_sent++;
        peer = peer->next;
      }
+     UNLOCK_CONFIG ;
      xfree(buf);
      if ( !succ ) {
        return(-1);

Дати відповідь електронним листом