On Wed, 17 Jan 2001, ��������� ����� wrote:
> ������ ����.
>
> � ���� ����� ������ ������������ �� ��������� ������� ��� oops?
��� �ӣ ��� ����
����������� �� ��������� �������.
1) ������ - ��� ����� ����, ������� ����� ���� ������� � ����������
���������� ��� �����������. ������ � ����� ���� �������������� �����
��������� ���������� ����� �����. ������� ��������� ����� �������, ���
������ ������ ������, �� ����� ����� ���������� � ������� �����������, ��
������ ������ ��������� ��������.
2) ��� ����� ����� � ������, �� ����������� ����� (���, ������� ����������
�� ����� �� ����� �������� ������) ������� ���� thread-safe, ������������
������ tread-safe ������ � �����������, ���� ���������� ������������
������������ ��-thread-safe �������. ���� �� ����� ������ ������ ��������
�����-���� ���������� ������, ����� ������ ������������� ����������,
���������� ��� ������ �� ������ � ������ ���������.
3) ������ ��� ����������� ��� ����������� �� �������, ���� ������ ���
������� �� ����� ����������� � ������ ����� ���������. ��� �������
��������� � �������� (��������� request) � ���������� (��������� mem_obj)
������������� � �������� ����. ���� ������ �������� �����-���� ���� �
���� ����������, �� ������ ������� ���������� �������, �������� � �����
������. ��������, ������ �������������� URL � ������� ������ �������
���������� ������ ����, � ����� ��� ��������� �����. ��� ������ ���������
�������� ���
if ( rq->url.host ) free(rq->url.host);
rq->url.host = strdup("new_host");
4) ������ ������ ��������������� ��� �������� ������ ����������� �
���������: ����������� � ������������. ������� ������������ ��������
������������ ��� �� ����� ���������� � ������� ������� MODULES.
���������� ������ ����������� ������� � ����������� ��������.
� ������ ������������ �������� ������ ������ ������������ ���������
��������� ����� � ��������� "�������������" �����������. �� �����
������������ �������� ������ ���� ����� ����� ����� ���������� ����� ��
����� (c ������� ������ dlsym()).
� ������ ����������� �������� ������ ������ ������ ������������ ���������
(��������������� ��� ����), ����������� �������� ����� �����. �� �����
������ �������� ��� ����� ��������� ����������� � ��������������� ������.
� ���������� ������ � ������ ����� ������ �������������� ����� ���� ����
��������.
���� �������:
1 MODULE_LOG
������, �������������� ������� ������ ���� access_log-�� (� ����, �
������, � ���� ������,...). ��� ������ ����� ��� ����� �����:
mod_log() - ���������� ����� ���� ��� ������ ��������. �������� ���
���������� � �������, ��������� � ������� ������������.
mod_reopen() - ���������� � ������ ��������� ������� ��� �������
�������� �����.
2 MODULE_ERR
3 MODULE_AUTH
4 MODULE_OUTPUT
5 MODULE_REDIR
6 MODULE_LISTENER
����������� "�����������" ��������. ���� ������ ��� ������� �����,
�� ������� ����� ����������� ����������, � �� ��� �� �����������.
����� ������ ���� ������������� ����� �����
process_call() - � �������� ��������� �������� ���������� ������ ������
����������� ����� ������ accept() ��� ������ ����������.
��������������, ��� �������� ������ ����� ������ �����: ����� ������
� ���������������� ��� ������ ������� �����, �������� ��� �����
��������� ����, ������� ����� � ����� ������������ ��� ������, ��
������� ����� ������ ����������. ��� ������ �� ��������� �������
����� ������ ����������, �������� ��� �������� accept(), ��������
����� ������ ������ � �������� ���������� ������, ������ ����� �����
� �������� ���������. ������ ������ ���������� ����� ������ �
������� ����� �����, ���������� � �������� ���������. ������ ������
������� ���������� ��������� ���� ��� ����� ������, ���������
�������� ���� ������������� �� ����� ��������� ������� ���� �������.
��� ���������� ��������� ������� ������ ����� ��� ������� "detached"
����.
������ ������ ������ - oopsctl_mod.c
7 MODULE_HEADERS
8 MODULE_PRE_BODY
9 MODULE_DB_API
>
> �����.
> =====================================================================
> 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, igor at paco dot net |
=====================================================================
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/