Skip to content

Commit

Permalink
improve description for request timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Oct 15, 2024
1 parent e59c3a2 commit 338c8f8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"missingscriptprotect": "Bitte geben Sie einen Wert für das Script-Protect ein.",
"requesttimeout": "Request-Timeout",
"RequestTimeoutDesc": "Definiert, wie Lucee mit lang laufenden Requests umgeht.",
"requesttimeoutdescription": "Legt die Zeit fest, wie lange Lucee auf die Beendigung eines Requests warten soll. Die Ausführung des Requests wird abgebrochen, wenn diese Zeit überschritten wird. Dieses Verhalten kann durch den CFSetting-Tag überschrieben werden.",
"requesttimeoutdescription": "Lucee handhabt Request-Timeouts auf zwei Arten. Erstens prüft der Request-Thread an bestimmten Punkten, z. B. bevor externe Operationen ausgeführt werden (wie HTTP-Aufrufe, Datenbankabfragen oder Dateioperationen), ob der Timeout erreicht wurde, und wirft bei Bedarf eine Request Timeout Exception. Zweitens überprüft ein separater Thread regelmäßig, ob Anfragen den Timeout überschritten haben, und versucht, sie durch das Interrupten des Threads zu stoppen, was jedoch Einschränkungen hat, insbesondere in neueren Java-Versionen, in denen das erzwungene Stoppen nicht mehr unterstützt wird. Der Request-Timeout kann über den cfsetting-Tag oder das entsprechende Skript-Äquivalent konfiguriert oder überschrieben werden.",
"RequestTimeoutTime": "Zeit",
"scriptprotect": "Script-Protect",
"scriptprotectall": "Script-Protect überprüft alle Scopes, ob die Daten von außerhalb kommen (cgi, cookie, form, url).",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"missingscriptprotect": "Please select a value for script-protect",
"requesttimeout": "Request timeout",
"RequestTimeoutDesc": "Defines how Lucee handles long running requests.",
"requesttimeoutdescription": "Sets the amount of time the engine will wait for a request to finish before a request timeout will be raised. This means that the execution of the request will be stopped. This setting can be overridden using the cfsetting\" tag or script equivalent.",
"requesttimeoutdescription": "Lucee handles request timeouts in two ways. First, at specific points, such as before performing external operations (e.g., HTTP calls, datasource queries, or file operations), the request thread checks if the timeout is reached and throws a Request Timeout Exception if necessary. Second, a separate thread periodically checks for requests that have exceeded their timeout and attempts to stop them by interrupting the thread, though this method has limitations, especially in newer Java versions where forced stopping is no longer supported. The request timeout can be configured or overridden using the cfsetting tag or its script equivalent.",
"RequestTimeoutTime": "Time",
"scriptprotect": "Script-protect",
"scriptprotectall": "Script-protect checks in all scopes for external data (cgi,cookie,form,url)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"missingscriptprotect": "Selecciona un valor para script-protect",
"requesttimeout": "Tiempo de espera de solicitud (request)",
"RequestTimeoutDesc": "Define cómo Lucee maneja las solicitudes de larga duración.",
"requesttimeoutdescription": "Establece el tiempo que el motor esperará a que una solicitud (request) termine antes de que se genere un tiempo de espera de solicitud (request). Esto significa que la ejecución de la solicitud (request) se detendrá. Esta configuración se puede anular utilizando la etiqueta \"cfsetting\" o su equivalente en script.",
"requesttimeoutdescription": "Lucee maneja los timeouts de las solicitudes de dos maneras. Primero, el hilo de la solicitud verifica en ciertos puntos, como antes de realizar operaciones externas (por ejemplo, llamadas HTTP, consultas a bases de datos o operaciones de archivos), si se ha alcanzado el tiempo límite y lanza una Request Timeout Exception si es necesario. Segundo, un hilo separado revisa periódicamente si las solicitudes han superado el tiempo límite e intenta detenerlas interrumpiendo el hilo, aunque este método tiene limitaciones, especialmente en versiones más recientes de Java, donde la detención forzada ya no es compatible. El timeout de la solicitud se puede configurar o sobrescribir utilizando la etiqueta cfsetting o su equivalente en script.",
"RequestTimeoutTime": "Tiempo",
"scriptprotect": "Protección de script",
"scriptprotectall": "La protección de script verifica en todos los Scopes los datos externos (cgi, cookie, form, url)",
Expand Down
2 changes: 1 addition & 1 deletion loader/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project default="core" basedir="." name="Lucee"
xmlns:resolver="antlib:org.apache.maven.resolver.ant">

<property name="version" value="6.2.0.107-SNAPSHOT"/>
<property name="version" value="6.2.0.108-SNAPSHOT"/>

<taskdef uri="antlib:org.apache.maven.resolver.ant" resource="org/apache/maven/resolver/ant/antlib.xml">
<classpath>
Expand Down
2 changes: 1 addition & 1 deletion loader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>org.lucee</groupId>
<artifactId>lucee</artifactId>
<version>6.2.0.107-SNAPSHOT</version>
<version>6.2.0.108-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Lucee Loader Build</name>
Expand Down

0 comments on commit 338c8f8

Please sign in to comment.