Debian Codegraph @

templates/man3/SSL_CTX_set_read_ahead.3ssl.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:44+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 # #-#-#-#-# archlinux: SSL_CTX_set_read_ahead.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: SSL_CTX_set_read_ahead.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: SSL_CTX_set_read_ahead.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: SSL_CTX_set_read_ahead.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
29 #. ========================================================================
30 #. type: IX
31 #: archlinux debian-trixie debian-unstable
32 #, no-wrap
33 msgid "Title"
34 msgstr ""
35
36 #
37 #. Required to disable full justification in groff 1.23.0.
38 #. ========================================================================
39 #. type: IX
40 #: archlinux
41 #, no-wrap
42 msgid "SSL_CTX_SET_READ_AHEAD 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "SSL_CTX_SET_READ_AHEAD"
49 msgstr ""
50
51 #. type: TH
52 #: archlinux debian-trixie debian-unstable
53 #, no-wrap
54 msgid "2026-04-07"
55 msgstr ""
56
57 #. type: TH
58 #: archlinux debian-unstable
59 #, no-wrap
60 msgid "3.6.2"
61 msgstr ""
62
63 #. type: TH
64 #: archlinux debian-trixie debian-unstable
65 #, no-wrap
66 msgid "OpenSSL"
67 msgstr ""
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable
71 #, no-wrap
72 msgid "NAME"
73 msgstr ""
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable
77 msgid ""
78 "SSL_CTX_set_read_ahead, SSL_CTX_get_read_ahead, SSL_set_read_ahead, "
79 "SSL_get_read_ahead, SSL_CTX_get_default_read_ahead \\&- manage whether to "
80 "read as many input bytes as possible"
81 msgstr ""
82
83 #. type: IX
84 #: archlinux debian-trixie debian-unstable
85 #, no-wrap
86 msgid "SYNOPSIS"
87 msgstr ""
88
89 #. type: IX
90 #: archlinux debian-trixie debian-unstable
91 #, no-wrap
92 msgid "Header"
93 msgstr ""
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable
97 #, no-wrap
98 msgid ""
99 "\\& #include E<lt>openssl/ssl.hE<gt>\n"
100 "\\&\n"
101 "\\& void SSL_set_read_ahead(SSL *s, int yes);\n"
102 "\\& int SSL_get_read_ahead(const SSL *s);\n"
103 "\\&\n"
104 "\\& SSL_CTX_set_read_ahead(SSL_CTX *ctx, int yes);\n"
105 "\\& long SSL_CTX_get_read_ahead(SSL_CTX *ctx);\n"
106 "\\& long SSL_CTX_get_default_read_ahead(SSL_CTX *ctx);\n"
107 msgstr ""
108
109 #. type: IX
110 #: archlinux debian-trixie debian-unstable
111 #, no-wrap
112 msgid "DESCRIPTION"
113 msgstr ""
114
115 #. type: Plain text
116 #: archlinux debian-trixie debian-unstable
117 msgid ""
118 "\\&B<SSL_CTX_set_read_ahead()> and B<SSL_set_read_ahead()> set whether we "
119 "should read as many input bytes as possible (for nonblocking reads) or not. "
120 "For example if \\&B<x> bytes are currently required by OpenSSL, but B<y> "
121 "bytes are available from the underlying BIO (where B<y> E<gt> B<x>), then "
122 "OpenSSL will read all B<y> bytes into its buffer (providing that the buffer "
123 "is large enough) if reading ahead is on, or B<x> bytes otherwise. Setting "
124 "the parameter B<yes> to 0 turns reading ahead is off, other values turn it "
125 "on. \\&B<SSL_CTX_set_default_read_ahead()> is identical to "
126 "B<SSL_CTX_set_read_ahead()>."
127 msgstr ""
128
129 #. type: Plain text
130 #: archlinux debian-trixie debian-unstable
131 msgid ""
132 "\\&B<SSL_CTX_get_read_ahead()> and B<SSL_get_read_ahead()> indicate whether "
133 "reading ahead has been set or not. \\&B<SSL_CTX_get_default_read_ahead()> "
134 "is identical to B<SSL_CTX_get_read_ahead()>."
135 msgstr ""
136
137 #. type: Plain text
138 #: archlinux debian-trixie debian-unstable
139 msgid ""
140 "These functions cannot be used with QUIC SSL objects. "
141 "B<SSL_set_read_ahead()> has no effect if called on a QUIC SSL object."
142 msgstr ""
143
144 #. type: IX
145 #: archlinux debian-trixie debian-unstable
146 #, no-wrap
147 msgid "NOTES"
148 msgstr ""
149
150 #. type: Plain text
151 #: archlinux debian-trixie debian-unstable
152 msgid ""
153 "These functions have no impact when used with DTLS. The return values for "
154 "\\&B<SSL_CTX_get_read_head()> and B<SSL_get_read_ahead()> are undefined for "
155 "DTLS. Setting \\&B<read_ahead> can impact the behaviour of the "
156 "B<SSL_pending()> function (see B<SSL_pending>\\|(3))."
157 msgstr ""
158
159 #. type: Plain text
160 #: archlinux
161 msgid ""
162 "Since B<SSL_read()> can return B<SSL_ERROR_WANT_READ> for non-application "
163 "data records, and B<SSL_has_pending()> can\\*(Aqt tell the difference "
164 "between processed and unprocessed data, it\\*(Aqs recommended that if read "
165 "ahead is turned on that \\&B<SSL_MODE_AUTO_RETRY> is not turned off using "
166 "B<SSL_CTX_clear_mode()>. That will prevent getting B<SSL_ERROR_WANT_READ> "
167 "when there is still a complete record available that hasn\\*(Aqt been "
168 "processed."
169 msgstr ""
170
171 #. type: Plain text
172 #: archlinux
173 msgid ""
174 "If the application wants to continue to use the underlying transport (e.g. "
175 "TCP connection) after the SSL connection is finished using B<SSL_shutdown()> "
176 "reading ahead should be turned off. Otherwise the SSL structure might read "
177 "data that it shouldn\\*(Aqt."
178 msgstr ""
179
180 #. type: IX
181 #: archlinux debian-trixie debian-unstable
182 #, no-wrap
183 msgid "RETURN VALUES"
184 msgstr ""
185
186 #. type: Plain text
187 #: archlinux debian-trixie debian-unstable
188 msgid ""
189 "\\&B<SSL_get_read_ahead()> and B<SSL_CTX_get_read_ahead()> return 0 if "
190 "reading ahead is off, and non zero otherwise."
191 msgstr ""
192
193 #. type: IX
194 #: archlinux debian-trixie debian-unstable
195 #, no-wrap
196 msgid "SEE ALSO"
197 msgstr ""
198
199 #. type: Plain text
200 #: archlinux debian-trixie debian-unstable
201 msgid "\\&B<ssl>\\|(7), B<SSL_pending>\\|(3)"
202 msgstr ""
203
204 #. type: IX
205 #: archlinux debian-trixie debian-unstable
206 #, no-wrap
207 msgid "COPYRIGHT"
208 msgstr ""
209
210 #. type: Plain text
211 #: archlinux debian-trixie debian-unstable
212 msgid "Copyright 2015-2023 The OpenSSL Project Authors. All Rights Reserved."
213 msgstr ""
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable
217 msgid ""
218 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
219 "this file except in compliance with the License. You can obtain a copy in "
220 "the file LICENSE in the source distribution or at E<lt>https://"
221 "www.openssl.org/source/license.htmlE<gt>."
222 msgstr ""
223
224 #. ========================================================================
225 #. type: IX
226 #: debian-trixie debian-unstable
227 #, no-wrap
228 msgid "SSL_CTX_SET_READ_AHEAD 3SSL"
229 msgstr ""
230
231 #. type: TH
232 #: debian-trixie
233 #, no-wrap
234 msgid "3.5.6"
235 msgstr ""
236
237 #. type: Plain text
238 #: debian-trixie debian-unstable
239 msgid ""
240 "Since B<SSL_read()> can return B<SSL_ERROR_WANT_READ> for non-application "
241 "data records, and B<SSL_has_pending()> can't tell the difference between "
242 "processed and unprocessed data, it's recommended that if read ahead is "
243 "turned on that \\&B<SSL_MODE_AUTO_RETRY> is not turned off using "
244 "B<SSL_CTX_clear_mode()>. That will prevent getting B<SSL_ERROR_WANT_READ> "
245 "when there is still a complete record available that hasn't been processed."
246 msgstr ""
247
248 #. type: Plain text
249 #: debian-trixie debian-unstable
250 msgid ""
251 "If the application wants to continue to use the underlying transport (e.g. "
252 "TCP connection) after the SSL connection is finished using B<SSL_shutdown()> "
253 "reading ahead should be turned off. Otherwise the SSL structure might read "
254 "data that it shouldn't."
255 msgstr ""