Debian Codegraph @

po/fr/man3/SSL_shutdown.3ssl.po

raw
1 # French translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Nicolas François <[email protected]>, 2008, 2009.
5 # David Prévot <[email protected]>, 2012, 2013, 2015.
6 # Thomas Blein <[email protected]>, 2012.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-l10n\n"
10 "POT-Creation-Date: 2026-06-05 06:44+0200\n"
11 "PO-Revision-Date: 2015-05-06 15:35-0400\n"
12 "Last-Translator: Thomas Blein <[email protected]>\n"
13 "Language-Team: French <[email protected]>\n"
14 "Language: fr\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
19 "X-Generator: Lokalize 1.5\n"
20
21 # #-#-#-#-# archlinux: SSL_shutdown.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #
23 #. #-#-#-#-# archlinux: SSL_shutdown.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
24 #. Required to disable full justification in groff 1.23.0.
25 #. ========================================================================
26 #. type: IX
27 #. #-#-#-#-# debian-trixie: SSL_shutdown.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
28 #. ========================================================================
29 #. type: IX
30 #. #-#-#-#-# debian-unstable: SSL_shutdown.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
31 #. ========================================================================
32 #. type: IX
33 #: archlinux debian-trixie debian-unstable
34 #, no-wrap
35 msgid "Title"
36 msgstr ""
37
38 #
39 #. Required to disable full justification in groff 1.23.0.
40 #. ========================================================================
41 #. type: IX
42 #: archlinux
43 #, no-wrap
44 msgid "SSL_SHUTDOWN 3ssl"
45 msgstr "SSL_SHUTDOWN 3ssl"
46
47 #. type: TH
48 #: archlinux debian-trixie debian-unstable
49 #, no-wrap
50 msgid "SSL_SHUTDOWN"
51 msgstr "SSL_SHUTDOWN"
52
53 #. type: TH
54 #: archlinux debian-trixie debian-unstable
55 #, no-wrap
56 msgid "2026-04-07"
57 msgstr "7 avril 2026"
58
59 #. type: TH
60 #: archlinux debian-unstable
61 #, no-wrap
62 msgid "3.6.2"
63 msgstr "3.6.2"
64
65 #. type: TH
66 #: archlinux debian-trixie debian-unstable
67 #, no-wrap
68 msgid "OpenSSL"
69 msgstr "OpenSSL"
70
71 #. type: SH
72 #: archlinux debian-trixie debian-unstable
73 #, no-wrap
74 msgid "NAME"
75 msgstr "NOM"
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable
79 msgid "SSL_shutdown, SSL_shutdown_ex - shut down a TLS/SSL or QUIC connection"
80 msgstr ""
81
82 #. type: IX
83 #: archlinux debian-trixie debian-unstable
84 #, no-wrap
85 msgid "SYNOPSIS"
86 msgstr "SYNOPSIS"
87
88 #. type: IX
89 #: archlinux debian-trixie debian-unstable
90 #, no-wrap
91 msgid "Header"
92 msgstr ""
93
94 #. type: Plain text
95 #: archlinux debian-trixie debian-unstable
96 #, no-wrap
97 msgid ""
98 "\\& #include E<lt>openssl/ssl.hE<gt>\n"
99 "\\&\n"
100 "\\& int SSL_shutdown(SSL *ssl);\n"
101 "\\&\n"
102 "\\& typedef struct ssl_shutdown_ex_args_st {\n"
103 "\\& uint64_t quic_error_code;\n"
104 "\\& const char *quic_reason;\n"
105 "\\& } SSL_SHUTDOWN_EX_ARGS;\n"
106 "\\&\n"
107 "\\& _\\|_owur int SSL_shutdown_ex(SSL *ssl, uint64_t flags,\n"
108 "\\& const SSL_SHUTDOWN_EX_ARGS *args,\n"
109 "\\& size_t args_len);\n"
110 msgstr ""
111
112 #. type: IX
113 #: archlinux debian-trixie debian-unstable
114 #, no-wrap
115 msgid "DESCRIPTION"
116 msgstr "DESCRIPTION"
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable
120 msgid ""
121 "\\&B<SSL_shutdown()> shuts down an active connection represented by an SSL "
122 "object. I<ssl> B<MUST NOT> be NULL."
123 msgstr ""
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable
127 msgid ""
128 "\\&B<SSL_shutdown_ex()> is an extended version of B<SSL_shutdown()>. If non-"
129 "NULL, I<args> must point to a B<SSL_SHUTDOWN_EX_ARGS> structure and "
130 "I<args_len> must be set to \\&CW<sizeof(SSL_SHUTDOWN_EX_ARGS)>. The "
131 "B<SSL_SHUTDOWN_EX_ARGS> structure must be zero-initialized. If I<args> is "
132 "NULL, the behaviour is the same as passing a zero-initialised "
133 "B<SSL_SHUTDOWN_EX_ARGS> structure. Currently, all extended arguments relate "
134 "to usage with QUIC, therefore this call functions identically to "
135 "B<SSL_shutdown()> when not being used with QUIC."
136 msgstr ""
137
138 #. type: Plain text
139 #: archlinux debian-trixie debian-unstable
140 msgid ""
141 "While the general operation of B<SSL_shutdown()> is common between "
142 "protocols, the exact nature of how a shutdown is performed depends on the "
143 "underlying protocol being used. See the section below pertaining to each "
144 "protocol for more information."
145 msgstr ""
146
147 #. type: Plain text
148 #: archlinux debian-trixie debian-unstable
149 msgid ""
150 "In general, calling B<SSL_shutdown()> in nonblocking mode will initiate the "
151 "shutdown process and return 0 to indicate that the shutdown process has not "
152 "yet completed. Once the shutdown process has completed, subsequent calls to "
153 "\\&B<SSL_shutdown()> will return 1. See the RETURN VALUES section for more "
154 "information."
155 msgstr ""
156
157 #. type: Plain text
158 #: archlinux debian-trixie debian-unstable
159 msgid ""
160 "\\&B<SSL_shutdown()> should not be called if a previous fatal error has "
161 "occurred on a connection; i.e., if B<SSL_get_error>\\|(3) has returned "
162 "B<SSL_ERROR_SYSCALL> or \\&B<SSL_ERROR_SSL>."
163 msgstr ""
164
165 #. type: IX
166 #: archlinux debian-trixie debian-unstable
167 #, no-wrap
168 msgid "TLS AND DTLS-SPECIFIC CONSIDERATIONS"
169 msgstr ""
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable
173 msgid ""
174 "Shutdown for SSL/TLS and DTLS is implemented in terms of the SSL/TLS/DTLS "
175 "close_notify alert message. The shutdown process for SSL/TLS and DTLS "
176 "consists of two steps:"
177 msgstr ""
178
179 #. type: IP
180 #: archlinux debian-trixie debian-unstable
181 #, no-wrap
182 msgid "\\(bu"
183 msgstr "–"
184
185 #. type: Plain text
186 #: archlinux debian-trixie debian-unstable
187 msgid "A close_notify shutdown alert message is sent to the peer."
188 msgstr ""
189
190 #. type: Plain text
191 #: archlinux debian-trixie debian-unstable
192 msgid "A close_notify shutdown alert message is received from the peer."
193 msgstr ""
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable
197 msgid ""
198 "These steps can occur in either order depending on whether the connection "
199 "shutdown process was first initiated by the local application or by the peer."
200 msgstr ""
201
202 #. type: IX
203 #: archlinux debian-trixie debian-unstable
204 #, no-wrap
205 msgid "Locally-Initiated Shutdown"
206 msgstr ""
207
208 #. type: IX
209 #: archlinux debian-trixie debian-unstable
210 #, fuzzy, no-wrap
211 #| msgid " [section1]"
212 msgid "Subsection"
213 msgstr " [section1]"
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable
217 msgid ""
218 "Calling B<SSL_shutdown()> on an SSL/TLS or DTLS SSL object initiates the "
219 "shutdown process and causes OpenSSL to try to send a close_notify shutdown "
220 "alert to the peer. The shutdown process will then be considered completed "
221 "once the peer responds in turn with a close_notify shutdown alert message."
222 msgstr ""
223
224 #. type: Plain text
225 #: archlinux
226 msgid ""
227 "Calling B<SSL_shutdown()> only closes the write direction of the connection; "
228 "the read direction is closed by the peer. Once B<SSL_shutdown()> is called, "
229 "\\&B<SSL_write>\\|(3) can no longer be used, but B<SSL_read>\\|(3) may still "
230 "be used until the peer decides to close the connection in turn. The peer "
231 "might continue sending data for some period of time before handling the "
232 "local application\\*(Aqs shutdown indication."
233 msgstr ""
234
235 #. type: Plain text
236 #: archlinux debian-trixie debian-unstable
237 msgid ""
238 "\\&B<SSL_shutdown()> does not affect an underlying network connection such "
239 "as a TCP connection, which remains open."
240 msgstr ""
241
242 #. type: IX
243 #: archlinux debian-trixie debian-unstable
244 #, no-wrap
245 msgid "Remotely-Initiated Shutdown"
246 msgstr ""
247
248 #. type: Plain text
249 #: archlinux debian-trixie debian-unstable
250 msgid ""
251 "If the peer was the first to initiate the shutdown process by sending a "
252 "close_notify alert message, an application will be notified of this as an "
253 "EOF condition when calling \\&B<SSL_read>\\|(3) (i.e., B<SSL_read>\\|(3) "
254 "will fail and B<SSL_get_error>\\|(3) will return B<SSL_ERROR_ZERO_RETURN>), "
255 "after all application data sent by the peer prior to initiating the shutdown "
256 "has been read. An application should handle this condition by calling "
257 "B<SSL_shutdown()> to respond with a close_notify alert in turn, completing "
258 "the shutdown process, though it may choose to write additional application "
259 "data using B<SSL_write>\\|(3) before doing so. If an application does not "
260 "call B<SSL_shutdown()> in this case, a close_notify alert will not be sent "
261 "and the behaviour will not be fully standards compliant."
262 msgstr ""
263
264 #. type: IX
265 #: archlinux debian-trixie debian-unstable
266 #, no-wrap
267 msgid "Shutdown Lifecycle"
268 msgstr ""
269
270 #. type: Plain text
271 #: archlinux debian-trixie debian-unstable
272 msgid ""
273 "Regardless of whether a shutdown was initiated locally or by the peer, if "
274 "the underlying BIO is blocking, a call to B<SSL_shutdown()> will return "
275 "firstly once a close_notify alert message is written to the peer (returning "
276 "0), and upon a second and subsequent call, once a corresponding message is "
277 "received from the peer (returning 1 and completing the shutdown process). "
278 "Calls to B<SSL_shutdown()> with a blocking underlying BIO will also return "
279 "if an error occurs."
280 msgstr ""
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable
284 msgid ""
285 "If the underlying BIO is nonblocking and the shutdown process is not yet "
286 "complete (for example, because a close_notify alert message has not yet been "
287 "received from the peer, or because a close_notify alert message needs to be "
288 "sent but would currently block), B<SSL_shutdown()> returns 0 to indicate "
289 "that the shutdown process is still ongoing; in this case, a call to "
290 "B<SSL_get_error>\\|(3) will yield B<SSL_ERROR_WANT_READ> or "
291 "B<SSL_ERROR_WANT_WRITE>."
292 msgstr ""
293
294 #. type: Plain text
295 #: archlinux debian-trixie debian-unstable
296 msgid ""
297 "An application can then detect completion of the shutdown process by calling "
298 "\\&B<SSL_shutdown()> again repeatedly until it returns 1, indicating that "
299 "the shutdown process is complete (with a close_notify alert having both been "
300 "sent and received)."
301 msgstr ""
302
303 #. type: Plain text
304 #: archlinux
305 msgid ""
306 "However, the preferred method of waiting for the shutdown to complete is to "
307 "use \\&B<SSL_read>\\|(3) until B<SSL_get_error>\\|(3) indicates EOF by "
308 "returning \\&B<SSL_ERROR_ZERO_RETURN>. This ensures any data received "
309 "immediately before the peer\\*(Aqs close_notify alert is still provided to "
310 "the application. It also ensures any final handshake-layer messages received "
311 "are processed (for example, messages issuing new session tickets)."
312 msgstr ""
313
314 #. type: Plain text
315 #: archlinux
316 msgid ""
317 "If this approach is not used, the second call to B<SSL_shutdown()> (to "
318 "complete the shutdown by confirming receipt of the peer\\*(Aqs close_notify "
319 "message) will fail if it is called when the application has not read all "
320 "pending application data sent by the peer using B<SSL_read>\\|(3)."
321 msgstr ""
322
323 #. type: Plain text
324 #: archlinux debian-trixie debian-unstable
325 msgid ""
326 "When calling B<SSL_shutdown()>, the B<SSL_SENT_SHUTDOWN> flag is set once an "
327 "attempt is made to send a close_notify alert, regardless of whether the "
328 "attempt was successful. The B<SSL_RECEIVED_SHUTDOWN> flag is set once a "
329 "close_notify alert is received, which may occur during any call which "
330 "processes incoming data from the network, such as B<SSL_read>\\|(3) or "
331 "B<SSL_shutdown()>. These flags may be checked using B<SSL_get_shutdown>\\|"
332 "(3)."
333 msgstr ""
334
335 #. type: IX
336 #: archlinux debian-trixie debian-unstable
337 #, no-wrap
338 msgid "Fast Shutdown"
339 msgstr ""
340
341 #. type: Plain text
342 #: archlinux
343 msgid ""
344 "Alternatively, it is acceptable for an application to call B<SSL_shutdown()> "
345 "once (such that it returns 0) and then close the underlying connection "
346 "without waiting for the peer\\*(Aqs response. This allows for a more rapid "
347 "shutdown process if the application does not wish to wait for the peer."
348 msgstr ""
349
350 #. type: Plain text
351 #: archlinux debian-trixie debian-unstable
352 msgid ""
353 "This alternative \"fast shutdown\" approach should only be done if it is "
354 "known that the peer will not send more data, otherwise there is a risk of an "
355 "application exposing itself to a truncation attack. The full "
356 "B<SSL_shutdown()> process, in which both parties send close_notify alerts "
357 "and B<SSL_shutdown()> returns 1, provides a cryptographically authenticated "
358 "indication of the end of a connection."
359 msgstr ""
360
361 #. type: Plain text
362 #: archlinux debian-trixie debian-unstable
363 msgid ""
364 "This approach of a single B<SSL_shutdown()> call without waiting is "
365 "preferable to simply calling B<SSL_free>\\|(3) or B<SSL_clear>\\|(3) as "
366 "calling B<SSL_shutdown()> beforehand makes an SSL session eligible for "
367 "subsequent reuse and notifies the peer of connection shutdown."
368 msgstr ""
369
370 #. type: Plain text
371 #: archlinux debian-trixie debian-unstable
372 msgid ""
373 "The fast shutdown approach can only be used if there is no intention to "
374 "reuse the underlying connection (e.g. a TCP connection) for further "
375 "communication; in this case, the full shutdown process must be performed to "
376 "ensure synchronisation."
377 msgstr ""
378
379 #. type: IX
380 #: archlinux debian-trixie debian-unstable
381 #, no-wrap
382 msgid "Effects on Session Reuse"
383 msgstr ""
384
385 #. type: Plain text
386 #: archlinux debian-trixie debian-unstable
387 msgid ""
388 "Calling B<SSL_shutdown()> sets the SSL_SENT_SHUTDOWN flag (see "
389 "\\&B<SSL_set_shutdown>\\|(3)), regardless of whether the transmission of the "
390 "close_notify alert was successful or not. This makes the SSL session "
391 "eligible for reuse; the SSL session is considered properly closed and can be "
392 "reused for future connections."
393 msgstr ""
394
395 #. type: IX
396 #: archlinux debian-trixie debian-unstable
397 #, no-wrap
398 msgid "Quiet Shutdown"
399 msgstr ""
400
401 #. type: Plain text
402 #: archlinux debian-trixie debian-unstable
403 msgid ""
404 "\\&B<SSL_shutdown()> can be modified to set the connection to the "
405 "\"shutdown\" state without actually sending a close_notify alert message; "
406 "see \\&B<SSL_CTX_set_quiet_shutdown>\\|(3). When \"quiet shutdown\" is "
407 "enabled, \\&B<SSL_shutdown()> will always succeed and return 1 immediately."
408 msgstr ""
409
410 #. type: Plain text
411 #: archlinux
412 msgid ""
413 "This is not standards-compliant behaviour. It should only be done when the "
414 "application protocol in use enables the peer to ensure that all data has "
415 "been received, such that it doesn\\*(Aqt need to wait for a close_notify "
416 "alert, otherwise application data may be truncated unexpectedly."
417 msgstr ""
418
419 #. type: IX
420 #: archlinux debian-trixie debian-unstable
421 #, no-wrap
422 msgid "Non-Compliant Peers"
423 msgstr ""
424
425 #. type: Plain text
426 #: archlinux debian-trixie debian-unstable
427 msgid ""
428 "There are SSL/TLS implementations that never send the required close_notify "
429 "alert message but simply close the underlying transport (e.g. a TCP "
430 "connection) instead. This will ordinarily result in an error being "
431 "generated."
432 msgstr ""
433
434 #. type: Plain text
435 #: archlinux debian-trixie debian-unstable
436 msgid ""
437 "If compatibility with such peers is desired, the option "
438 "\\&B<SSL_OP_IGNORE_UNEXPECTED_EOF> can be set. For more information, see "
439 "\\&B<SSL_CTX_set_options>\\|(3)."
440 msgstr ""
441
442 #. type: Plain text
443 #: archlinux debian-trixie debian-unstable
444 msgid ""
445 "Note that use of this option means that the EOF condition for application "
446 "data does not receive cryptographic protection, and therefore renders an "
447 "application potentially vulnerable to truncation attacks. Thus, this option "
448 "must only be used in conjunction with an application protocol which "
449 "indicates unambiguously when all data has been received."
450 msgstr ""
451
452 #. type: Plain text
453 #: archlinux debian-trixie debian-unstable
454 msgid ""
455 "An alternative approach is to simply avoid calling B<SSL_read>\\|(3) if it "
456 "is known that no more data is going to be sent. This requires an application "
457 "protocol which indicates unambiguously when all data has been sent."
458 msgstr ""
459
460 #. type: IX
461 #: archlinux debian-trixie debian-unstable
462 #, no-wrap
463 msgid "Session Ticket Handling"
464 msgstr ""
465
466 #. type: Plain text
467 #: archlinux debian-trixie debian-unstable
468 msgid ""
469 "If a client application only writes to an SSL/TLS or DTLS connection and "
470 "never reads, OpenSSL may never process new SSL/TLS session tickets sent by "
471 "the server. This is because OpenSSL ordinarily processes handshake messages "
472 "received from a peer during calls to B<SSL_read>\\|(3) by the application."
473 msgstr ""
474
475 #. type: Plain text
476 #: archlinux debian-trixie debian-unstable
477 msgid ""
478 "Therefore, client applications which only write and do not read but which "
479 "wish to benefit from session resumption are advised to perform a complete "
480 "shutdown procedure by calling B<SSL_shutdown()> until it returns 1, as "
481 "described above. This will ensure there is an opportunity for SSL/TLS "
482 "session ticket messages to be received and processed by OpenSSL."
483 msgstr ""
484
485 #. type: IX
486 #: archlinux debian-trixie debian-unstable
487 #, no-wrap
488 msgid "QUIC-SPECIFIC SHUTDOWN CONSIDERATIONS"
489 msgstr ""
490
491 #. type: Plain text
492 #: archlinux debian-trixie debian-unstable
493 msgid ""
494 "When used with a QUIC connection SSL object, B<SSL_shutdown()> initiates a "
495 "QUIC immediate close using QUIC B<CONNECTION_CLOSE> frames."
496 msgstr ""
497
498 #. type: Plain text
499 #: archlinux debian-trixie debian-unstable
500 msgid ""
501 "\\&B<SSL_shutdown()> cannot be used on QUIC stream SSL objects. To conclude "
502 "a stream normally, see B<SSL_stream_conclude>\\|(3); to perform a non-normal "
503 "stream termination, see B<SSL_stream_reset>\\|(3)."
504 msgstr ""
505
506 #. type: Plain text
507 #: archlinux debian-trixie debian-unstable
508 msgid ""
509 "\\&B<SSL_shutdown_ex()> may be used instead of B<SSL_shutdown()> by an "
510 "application to provide additional information to the peer on the reason why "
511 "a connection is being shut down. The information which can be provided is as "
512 "follows:"
513 msgstr ""
514
515 #. type: IP
516 #: archlinux debian-trixie debian-unstable
517 #, fuzzy, no-wrap
518 #| msgid "I<si_code>"
519 msgid "I<quic_error_code>"
520 msgstr "I<si_code>"
521
522 #. type: IX
523 #: archlinux debian-trixie debian-unstable
524 #, no-wrap
525 msgid "Item"
526 msgstr ""
527
528 #. type: IX
529 #: archlinux debian-trixie debian-unstable
530 #, no-wrap
531 msgid "quic_error_code"
532 msgstr ""
533
534 #. type: Plain text
535 #: archlinux debian-trixie debian-unstable
536 msgid ""
537 "An optional 62-bit application error code to be signalled to the peer. The "
538 "value must be in the range [0, 2**62-1], else the call to "
539 "B<SSL_shutdown_ex()> fails. If not provided, an error code of 0 is used by "
540 "default."
541 msgstr ""
542
543 #. type: IP
544 #: archlinux debian-trixie debian-unstable
545 #, fuzzy, no-wrap
546 #| msgid "I<quiet>"
547 msgid "I<quic_reason>"
548 msgstr "I<quiet>"
549
550 #. type: IX
551 #: archlinux debian-trixie debian-unstable
552 #, no-wrap
553 msgid "quic_reason"
554 msgstr ""
555
556 #. type: Plain text
557 #: archlinux debian-trixie debian-unstable
558 msgid ""
559 "An optional zero-terminated (UTF-8) reason string to be signalled to the "
560 "peer. The application is responsible for providing a valid UTF-8 string and "
561 "OpenSSL will not validate the string. If a reason is not provided, or "
562 "B<SSL_shutdown()> is used, a zero-length string is used as the reason. If "
563 "provided, the reason string is copied and stored inside the QUIC connection "
564 "SSL object and need not remain allocated after the call to "
565 "B<SSL_shutdown_ex()> returns. Reason strings are bounded by the path MTU and "
566 "may be silently truncated if they are too long to fit in a QUIC packet."
567 msgstr ""
568
569 #. type: Plain text
570 #: archlinux debian-trixie debian-unstable
571 msgid ""
572 "Reason strings are intended for human diagnostic purposes only, and should "
573 "not be used for application signalling."
574 msgstr ""
575
576 #. type: Plain text
577 #: archlinux debian-trixie debian-unstable
578 msgid ""
579 "The arguments to B<SSL_shutdown_ex()> are used only on the first call to "
580 "\\&B<SSL_shutdown_ex()> (or B<SSL_shutdown()>) for a given QUIC connection "
581 "SSL object. These arguments are ignored on subsequent calls."
582 msgstr ""
583
584 #. type: Plain text
585 #: archlinux debian-trixie debian-unstable
586 msgid ""
587 "These functions do not affect an underlying network BIO or the resource it "
588 "represents; for example, a UDP datagram provided to a QUIC connection as the "
589 "network BIO will remain open."
590 msgstr ""
591
592 #. type: Plain text
593 #: archlinux debian-trixie debian-unstable
594 msgid ""
595 "Note that when using QUIC, an application must call B<SSL_shutdown()> if it "
596 "wants to ensure that all transmitted data was received by the peer. This is "
597 "unlike a TLS/TCP connection, where reliable transmission of buffered data is "
598 "the responsibility of the operating system. If an application calls "
599 "B<SSL_free()> on a QUIC connection SSL object or exits before completing the "
600 "shutdown process using \\&B<SSL_shutdown()>, data which was written by the "
601 "application using B<SSL_write()>, but could not yet be transmitted, or which "
602 "was sent but lost in the network, may not be received by the peer."
603 msgstr ""
604
605 #. type: Plain text
606 #: archlinux debian-trixie debian-unstable
607 msgid ""
608 "When using QUIC, calling B<SSL_shutdown()> allows internal network event "
609 "processing to be performed. It is important that this processing is "
610 "performed regularly, whether during connection usage or during shutdown. If "
611 "an application is not using thread assisted mode, an application conducting "
612 "shutdown should either ensure that B<SSL_shutdown()> is called regularly, or "
613 "alternatively ensure that \\&B<SSL_handle_events()> is called regularly. See "
614 "B<openssl-quic>\\|(7) and \\&B<SSL_handle_events>\\|(3) for more information."
615 msgstr ""
616
617 #. type: IX
618 #: archlinux debian-trixie debian-unstable
619 #, no-wrap
620 msgid "Application Data Drainage Behaviour"
621 msgstr ""
622
623 #. type: Plain text
624 #: archlinux debian-trixie debian-unstable
625 msgid ""
626 "When using QUIC, B<SSL_shutdown()> or B<SSL_shutdown_ex()> ordinarily waits "
627 "until all data written to a stream by an application has been acknowledged "
628 "by the peer. In other words, the shutdown process waits until all data "
629 "written by the application has been sent to the peer, and until the receipt "
630 "of all such data is acknowledged by the peer. Only once this process is "
631 "completed is the shutdown considered complete."
632 msgstr ""
633
634 #. type: Plain text
635 #: archlinux debian-trixie debian-unstable
636 msgid ""
637 "An exception to this is streams which terminated in a non-normal fashion, "
638 "for example due to a stream reset; only streams which are non-terminated at "
639 "the time \\&B<SSL_shutdown()> is called, or which terminated in a normal "
640 "fashion, have their pending send buffers flushed in this manner."
641 msgstr ""
642
643 #. type: Plain text
644 #: archlinux debian-trixie debian-unstable
645 msgid ""
646 "This behaviour of flushing streams during the shutdown process can be "
647 "skipped by setting the B<SSL_SHUTDOWN_FLAG_NO_STREAM_FLUSH> flag in a call "
648 "to \\&B<SSL_shutdown_ex()>; in this case, data remaining in stream send "
649 "buffers may not be transmitted to the peer. This flag may be used when a non-"
650 "normal application condition has occurred and the delivery of data written "
651 "to streams via \\&B<SSL_write>\\|(3) is no longer relevant."
652 msgstr ""
653
654 #. type: IX
655 #: archlinux debian-trixie debian-unstable
656 #, no-wrap
657 msgid "Shutdown Mode"
658 msgstr ""
659
660 #. type: Plain text
661 #: archlinux debian-trixie debian-unstable
662 msgid ""
663 "Aspects of how QUIC handles connection closure must be taken into account by "
664 "applications. Ordinarily, QUIC expects a connection to continue to be "
665 "serviced for a substantial period of time after it is nominally closed. This "
666 "is necessary to ensure that any connection closure notification sent to the "
667 "peer was successfully received. However, a consequence of this is that a "
668 "fully RFC-compliant QUIC connection closure process could take of the order "
669 "of seconds. This may be unsuitable for some applications, such as short-"
670 "lived processes which need to exit immediately after completing an "
671 "application-layer transaction."
672 msgstr ""
673
674 #. type: Plain text
675 #: archlinux debian-trixie debian-unstable
676 msgid ""
677 "As such, there are two shutdown modes available to users of QUIC connection "
678 "SSL objects:"
679 msgstr ""
680
681 #. type: IX
682 #: archlinux debian-trixie debian-unstable
683 #, no-wrap
684 msgid "RFC compliant shutdown mode"
685 msgstr ""
686
687 #. type: Plain text
688 #: archlinux debian-trixie debian-unstable
689 msgid ""
690 "This is the default behaviour. The shutdown process may take a period of "
691 "time up to three times the current estimated RTT to the peer. It is possible "
692 "for the closure process to complete much faster in some circumstances but "
693 "this cannot be relied upon."
694 msgstr ""
695
696 #. type: Plain text
697 #: archlinux debian-trixie debian-unstable
698 msgid ""
699 "In blocking mode, the function will return once the closure process is "
700 "complete. In nonblocking mode, B<SSL_shutdown_ex()> should be called until "
701 "it returns 1, indicating the closure process is complete and the connection "
702 "is now fully shut down."
703 msgstr ""
704
705 #. type: IX
706 #: archlinux debian-trixie debian-unstable
707 #, no-wrap
708 msgid "Rapid shutdown mode"
709 msgstr ""
710
711 #. type: Plain text
712 #: archlinux debian-trixie debian-unstable
713 msgid ""
714 "In this mode, the peer is notified of connection closure on a best effort "
715 "basis by sending a single QUIC packet. If that QUIC packet is lost, the peer "
716 "will not know that the connection has terminated until the negotiated idle "
717 "timeout (if any) expires."
718 msgstr ""
719
720 #. type: Plain text
721 #: archlinux debian-trixie debian-unstable
722 msgid ""
723 "This will generally return 0 on success, indicating that the connection has "
724 "not yet been fully shut down (unless it has already done so, in which case "
725 "it will return 1)."
726 msgstr ""
727
728 #. type: Plain text
729 #: archlinux debian-trixie debian-unstable
730 msgid ""
731 "If B<SSL_SHUTDOWN_FLAG_RAPID> is specified in I<flags>, a rapid shutdown is "
732 "performed, otherwise an RFC-compliant shutdown is performed."
733 msgstr ""
734
735 #. type: Plain text
736 #: archlinux debian-trixie debian-unstable
737 msgid ""
738 "If an application calls B<SSL_shutdown_ex()> with "
739 "B<SSL_SHUTDOWN_FLAG_RAPID>, an application can subsequently change its mind "
740 "about performing a rapid shutdown by making a subsequent call to "
741 "B<SSL_shutdown_ex()> without the flag set."
742 msgstr ""
743
744 #. type: IX
745 #: archlinux debian-trixie debian-unstable
746 #, no-wrap
747 msgid "Peer-Initiated Shutdown"
748 msgstr ""
749
750 #. type: Plain text
751 #: archlinux debian-trixie debian-unstable
752 msgid ""
753 "In some cases, an application may wish to wait for a shutdown initiated by "
754 "the peer rather than triggered locally. To do this, call "
755 "B<SSL_shutdown_ex()> with \\&I<SSL_SHUTDOWN_FLAG_WAIT_PEER> specified in "
756 "I<flags>. In blocking mode, this waits until the peer initiates a shutdown "
757 "or the connection otherwise becomes terminated for another reason. In "
758 "nonblocking mode it exits immediately with either success or failure "
759 "depending on whether a shutdown has occurred."
760 msgstr ""
761
762 #. type: Plain text
763 #: archlinux debian-trixie debian-unstable
764 msgid ""
765 "If a locally initiated shutdown has already been triggered or the connection "
766 "has started terminating for another reason, this flag has no effect."
767 msgstr ""
768
769 #. type: Plain text
770 #: archlinux debian-trixie debian-unstable
771 msgid ""
772 "\\&B<SSL_SHUTDOWN_FLAG_WAIT_PEER> implies "
773 "B<SSL_SHUTDOWN_FLAG_NO_STREAM_FLUSH>, as stream data cannot be flushed after "
774 "a peer closes the connection. Stream data may still be sent to the peer in "
775 "any time spent waiting before the peer closes the connection, though there "
776 "is no guarantee of this."
777 msgstr ""
778
779 #. type: IX
780 #: archlinux debian-trixie debian-unstable
781 #, no-wrap
782 msgid "Nonblocking Mode"
783 msgstr ""
784
785 #. type: Plain text
786 #: archlinux debian-trixie debian-unstable
787 msgid ""
788 "\\&B<SSL_shutdown()> and B<SSL_shutdown_ex()> block if the connection is "
789 "configured in blocking mode. This may be overridden by specifying "
790 "\\&B<SSL_SHUTDOWN_FLAG_NO_BLOCK> in I<flags> when calling "
791 "B<SSL_shutdown_ex()>, which causes the call to operate as though in "
792 "nonblocking mode."
793 msgstr ""
794
795 #. type: IX
796 #: archlinux debian-trixie debian-unstable
797 #, no-wrap
798 msgid "RETURN VALUES"
799 msgstr "VALEURS RENVOYÉES"
800
801 #. type: Plain text
802 #: archlinux debian-trixie debian-unstable
803 msgid ""
804 "For both B<SSL_shutdown()> and B<SSL_shutdown_ex()> the following return "
805 "values can occur:"
806 msgstr ""
807
808 #. type: IP
809 #: archlinux debian-trixie debian-unstable
810 #, no-wrap
811 msgid "0"
812 msgstr "0"
813
814 #. type: Plain text
815 #: archlinux debian-trixie debian-unstable
816 msgid "The shutdown process is ongoing and has not yet completed."
817 msgstr ""
818
819 #. type: Plain text
820 #: archlinux debian-trixie debian-unstable
821 msgid ""
822 "For TLS and DTLS, this means that a close_notify alert has been sent but the "
823 "peer has not yet replied in turn with its own close_notify."
824 msgstr ""
825
826 #. type: Plain text
827 #: archlinux debian-trixie debian-unstable
828 msgid ""
829 "For QUIC connection SSL objects, a CONNECTION_CLOSE frame may have been sent "
830 "but the connection closure process has not yet completed."
831 msgstr ""
832
833 #. type: Plain text
834 #: archlinux debian-trixie debian-unstable
835 msgid ""
836 "Unlike most other functions, returning 0 does not indicate an error. "
837 "\\&B<SSL_get_error>\\|(3) should not be called; it may misleadingly indicate "
838 "an error even though no error occurred."
839 msgstr ""
840
841 #. type: IX
842 #: archlinux debian-trixie debian-unstable
843 #, no-wrap
844 msgid "1"
845 msgstr "1"
846
847 #. type: Plain text
848 #: archlinux debian-trixie debian-unstable
849 #, fuzzy
850 #| msgid "The operation was completely successfully."
851 msgid "The shutdown was successfully completed."
852 msgstr "L’opération s’est terminée correctement."
853
854 #. type: Plain text
855 #: archlinux
856 msgid ""
857 "For TLS and DTLS, this means that a close_notify alert was sent and the "
858 "peer\\*(Aqs close_notify alert was received."
859 msgstr ""
860
861 #. type: Plain text
862 #: archlinux debian-trixie debian-unstable
863 msgid ""
864 "For QUIC connection SSL objects, this means that the connection closure "
865 "process has completed."
866 msgstr ""
867
868 #. type: IX
869 #: archlinux debian-trixie debian-unstable
870 #, no-wrap
871 msgid "E<lt>0"
872 msgstr "E<lt>0"
873
874 #. type: Plain text
875 #: archlinux debian-trixie debian-unstable
876 msgid ""
877 "The shutdown was not successful. Call B<SSL_get_error>\\|(3) with the "
878 "return value B<ret> to find out the reason. It can occur if an action is "
879 "needed to continue the operation for nonblocking BIOs."
880 msgstr ""
881
882 #. type: Plain text
883 #: archlinux debian-trixie debian-unstable
884 msgid ""
885 "It can also occur when not all data was read using B<SSL_read()>, or if "
886 "called on a QUIC stream SSL object."
887 msgstr ""
888
889 #. type: Plain text
890 #: archlinux debian-trixie debian-unstable
891 msgid "This value is also returned when called on QUIC stream SSL objects."
892 msgstr ""
893
894 #. type: IX
895 #: archlinux debian-trixie debian-unstable
896 #, no-wrap
897 msgid "SEE ALSO"
898 msgstr "VOIR AUSSI"
899
900 #. type: Plain text
901 #: archlinux debian-trixie debian-unstable
902 #, fuzzy
903 #| msgid ""
904 #| "L<SSL_get_error(3)|SSL_get_error(3)>, L<SSL_connect(3)|SSL_connect(3)>, "
905 #| "L<SSL_accept(3)|SSL_accept(3)>, L<SSL_set_shutdown(3)|"
906 #| "SSL_set_shutdown(3)>, L<SSL_CTX_set_quiet_shutdown(3)|"
907 #| "SSL_CTX_set_quiet_shutdown(3)>, L<SSL_clear(3)|SSL_clear(3)>, "
908 #| "L<SSL_free(3)|SSL_free(3)>, L<ssl(3)|ssl(3)>, L<bio(3)|bio(3)>"
909 msgid ""
910 "\\&B<SSL_get_error>\\|(3), B<SSL_connect>\\|(3), \\&B<SSL_accept>\\|(3), "
911 "B<SSL_set_shutdown>\\|(3), \\&B<SSL_CTX_set_quiet_shutdown>\\|(3), "
912 "B<SSL_CTX_set_options>\\|(3) \\&B<SSL_clear>\\|(3), B<SSL_free>\\|(3), "
913 "\\&B<ssl>\\|(7), B<bio>\\|(7)"
914 msgstr ""
915 "L<SSL_get_error(3)|SSL_get_error(3)>, L<SSL_connect(3)|SSL_connect(3)>, "
916 "L<SSL_accept(3)|SSL_accept(3)>, L<SSL_set_shutdown(3)|SSL_set_shutdown(3)>, "
917 "L<SSL_CTX_set_quiet_shutdown(3)|SSL_CTX_set_quiet_shutdown(3)>, "
918 "L<SSL_clear(3)|SSL_clear(3)>, L<SSL_free(3)|SSL_free(3)>, L<ssl(3)|ssl(3)>, "
919 "L<bio(3)|bio(3)>"
920
921 #. type: IX
922 #: archlinux debian-trixie debian-unstable
923 #, no-wrap
924 msgid "HISTORY"
925 msgstr "HISTORIQUE"
926
927 #. type: Plain text
928 #: archlinux debian-trixie debian-unstable
929 #, fuzzy
930 #| msgid "The B<-engine> option was deprecated in OpenSSL 3.0."
931 msgid "The B<SSL_shutdown_ex()> function was added in OpenSSL 3.2."
932 msgstr "L’option B<-engine> est obsolète dans OpenSSL 1.0.2b."
933
934 #. type: IX
935 #: archlinux debian-trixie debian-unstable
936 #, no-wrap
937 msgid "COPYRIGHT"
938 msgstr "COPYRIGHT"
939
940 #. type: Plain text
941 #: archlinux debian-trixie debian-unstable
942 msgid "Copyright 2000-2023 The OpenSSL Project Authors. All Rights Reserved."
943 msgstr ""
944 "Copyright 2000-2023 Les auteurs du projet OpenSSL. Tous droits réservés."
945
946 #. type: Plain text
947 #: archlinux debian-trixie debian-unstable
948 msgid ""
949 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
950 "this file except in compliance with the License. You can obtain a copy in "
951 "the file LICENSE in the source distribution or at E<lt>https://"
952 "www.openssl.org/source/license.htmlE<gt>."
953 msgstr ""
954 "Sous licence Apache 2.0 (la « Licence »). Vous ne pouvez utiliser ce fichier "
955 "que conformément à la Licence. Vous trouverez une copie dans le fichier "
956 "\\s-1LICENSE\\s0 de la distribution du source ou à l'adresse E<lt>https://"
957 "www.openssl.org/source/license.htmlE<gt>."
958
959 #. ========================================================================
960 #. type: IX
961 #: debian-trixie debian-unstable
962 #, no-wrap
963 msgid "SSL_SHUTDOWN 3SSL"
964 msgstr ""
965
966 #. type: TH
967 #: debian-trixie
968 #, no-wrap
969 msgid "3.5.6"
970 msgstr "3.5.6"
971
972 #. type: Plain text
973 #: debian-trixie debian-unstable
974 msgid ""
975 "Calling B<SSL_shutdown()> only closes the write direction of the connection; "
976 "the read direction is closed by the peer. Once B<SSL_shutdown()> is called, "
977 "\\&B<SSL_write>\\|(3) can no longer be used, but B<SSL_read>\\|(3) may still "
978 "be used until the peer decides to close the connection in turn. The peer "
979 "might continue sending data for some period of time before handling the "
980 "local application's shutdown indication."
981 msgstr ""
982
983 #. type: Plain text
984 #: debian-trixie debian-unstable
985 msgid ""
986 "However, the preferred method of waiting for the shutdown to complete is to "
987 "use \\&B<SSL_read>\\|(3) until B<SSL_get_error>\\|(3) indicates EOF by "
988 "returning \\&B<SSL_ERROR_ZERO_RETURN>. This ensures any data received "
989 "immediately before the peer's close_notify alert is still provided to the "
990 "application. It also ensures any final handshake-layer messages received are "
991 "processed (for example, messages issuing new session tickets)."
992 msgstr ""
993
994 #. type: Plain text
995 #: debian-trixie debian-unstable
996 msgid ""
997 "If this approach is not used, the second call to B<SSL_shutdown()> (to "
998 "complete the shutdown by confirming receipt of the peer's close_notify "
999 "message) will fail if it is called when the application has not read all "
1000 "pending application data sent by the peer using B<SSL_read>\\|(3)."
1001 msgstr ""
1002
1003 #. type: Plain text
1004 #: debian-trixie debian-unstable
1005 msgid ""
1006 "Alternatively, it is acceptable for an application to call B<SSL_shutdown()> "
1007 "once (such that it returns 0) and then close the underlying connection "
1008 "without waiting for the peer's response. This allows for a more rapid "
1009 "shutdown process if the application does not wish to wait for the peer."
1010 msgstr ""
1011
1012 #. type: Plain text
1013 #: debian-trixie debian-unstable
1014 msgid ""
1015 "This is not standards-compliant behaviour. It should only be done when the "
1016 "application protocol in use enables the peer to ensure that all data has "
1017 "been received, such that it doesn't need to wait for a close_notify alert, "
1018 "otherwise application data may be truncated unexpectedly."
1019 msgstr ""
1020
1021 #. type: Plain text
1022 #: debian-trixie debian-unstable
1023 msgid ""
1024 "For TLS and DTLS, this means that a close_notify alert was sent and the "
1025 "peer's close_notify alert was received."
1026 msgstr ""