Skip to content

Commit

Permalink
#141 Добавлено обнуление переменных при повторе запроса
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandr-yang committed Jun 2, 2024
1 parent 91e5784 commit 06b8629
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/en/CommonModules/HTTPConnector/Ext/Module.bsl
Original file line number Diff line number Diff line change
Expand Up @@ -1691,7 +1691,9 @@ Function SendRequest(Session, PreparedRequest, Settings)
While True Do
Try
Response = SendHTTPRequest(Session, PreparedRequest, Settings);
RequestExecutionError = Undefined;
Except
Response = Undefined;
RequestExecutionError = ErrorInfo();
EndTry;

Expand Down
2 changes: 2 additions & 0 deletions src/ru/CommonModules/КоннекторHTTP/Ext/Module.bsl
Original file line number Diff line number Diff line change
Expand Up @@ -1552,7 +1552,9 @@
Пока Истина Цикл
Попытка
Ответ = ОтправитьHTTPЗапрос(Сессия, ПодготовленныйЗапрос, Настройки);
ОшибкаВыполненияЗапроса = Неопределено;
Исключение
Ответ = Неопределено;
ОшибкаВыполненияЗапроса = ИнформацияОбОшибке();

ТекстОшибки = СтрШаблон(
Expand Down

0 comments on commit 06b8629

Please sign in to comment.