Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1573921
 поиск   регистрация   авторизация 
 
Группа :: Система/Серверы
Пакет: squid

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

Патч: squid-2.5.STABLE10-redirect_flags.patch


Index: squid/src/client_side.c
diff -c squid/src/client_side.c:1.561.2.78 squid/src/client_side.c:1.561.2.79
*** squid/src/client_side.c:1.561.2.78	Mon Jun 13 16:32:33 2005
--- squid/src/client_side.c	Mon Jun 13 16:41:35 2005
***************
*** 357,362 ****
--- 357,363 ----
  	new_request->client_addr = old_request->client_addr;
  	new_request->my_addr = old_request->my_addr;
  	new_request->my_port = old_request->my_port;
+ 	new_request->flags = old_request->flags;
  	new_request->flags.redirected = 1;
  	if (old_request->auth_user_request) {
  	    new_request->auth_user_request = old_request->auth_user_request;
***************
*** 369,375 ****
  	    old_request->body_reader_data = NULL;
  	}
  	new_request->content_length = old_request->content_length;
- 	new_request->flags.proxy_keepalive = old_request->flags.proxy_keepalive;
  	requestUnlink(old_request);
  	http->request = requestLink(new_request);
      }
--- 370,375 ----
 
design & coding: Vladimir Lettiev aka crux © 2004-2005