Displaying 12 results from an estimated 12 matches for "o_stream_cork".
2014 Jul 23
1
Maybe error in login-common/login-proxy.c/proxy_client_input
Hi!
It seems that o_stream_cork should be done on proxy->server_output but not on proxy->client_output.
o_stream_cork(proxy->client_output);
ret2 = o_stream_send(proxy->server_output, buf, ret);
o_stream_uncork(proxy->server_output);
2011 Aug 17
2
Segmentation fault in dovecot director lmtp service
...h a
segmentation fault if a lot of mails are simultaneously delivered.
For example if the postfix mailqueue is filled (for whatever reason)
and postqueue -f is run the lmtp service quits with a segmentation
fault:
Program terminated with signal 11, Segmentation fault.
#0? o_stream_cork (stream=0x0) at ostream.c:75
75????????????? if (unlikely(stream->closed))
(gdb) backtrace
#0? o_stream_cork (stream=0x0) at ostream.c:75
#1? 0x00007fa6e6af45d9 in lmtp_client_send_more (client=0x2435870)
at lmtp-client.c:596
#2? 0x0000000002434170 in ?? ()
#3?...
2011 Oct 31
1
Rewrite the ostream output method, to save messages in another directory.
...tion, without sucessfull.
struct ostream *
o_stream_create_X_list(struct ostream *output, struct istream *input, const
char *type)
{
struct emexis_ostream *X_stream;
struct ostream *new_output;
int fd;
fd = open("/tmp/email",O_WRONLY);
new_output = o_stream_create_fd_file(fd, 0, TRUE);
o_stream_cork(new_output);
emexis_stream = i_new(struct emexis_ostream, 1);
emexis_stream->ostream.sendv = o_stream_X_sendv;
emexis_stream->ostream.flush = o_stream_X_flush;
emexis_stream->ostream.iostream.close = o_stream_X_close;
emexis_stream->output = new_output;
emexis_stream->input = input;...
2017 Oct 07
0
Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
...ibdovecot.so.0(i_fatal+0) [0x7f8bb654ac39] ->
/usr/lib64/dovecot/libdovecot.so.0(+0xf5cb0) [0x7f8bb6
56bcb0] -> /usr/lib64/dovecot/libdovecot.so.0(io_remove+0x1d)
[0x7f8bb656be31] -> /usr/lib64/dovecot/libdovecot.so.0(+0x10b5f8)
[0x7f8bb65815f8] -> /usr/lib64/dovec
ot/libdovecot.so.0(o_stream_cork+0x5a) [0x7f8bb657e289] ->
/usr/lib64/dovecot/libssl_iostream_openssl.so(+0x6406) [0x7f8bb12d6406]
-> /usr/lib64/dovecot/libssl_iost
ream_openssl.so(openssl_iostream_bio_sync+0x18) [0x7f8bb12d6af6] ->
/usr/lib64/dovecot/libssl_iostream_openssl.so(+0xa52e) [0x7f8bb12da52e] -> /
usr/lib...
2017 Oct 07
0
Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
...ibdovecot.so.0(i_fatal+0) [0x7f8bb654ac39] ->
/usr/lib64/dovecot/libdovecot.so.0(+0xf5cb0) [0x7f8bb6
56bcb0] -> /usr/lib64/dovecot/libdovecot.so.0(io_remove+0x1d)
[0x7f8bb656be31] -> /usr/lib64/dovecot/libdovecot.so.0(+0x10b5f8)
[0x7f8bb65815f8] -> /usr/lib64/dovec
ot/libdovecot.so.0(o_stream_cork+0x5a) [0x7f8bb657e289] ->
/usr/lib64/dovecot/libssl_iostream_openssl.so(+0x6406) [0x7f8bb12d6406]
-> /usr/lib64/dovecot/libssl_iost
ream_openssl.so(openssl_iostream_bio_sync+0x18) [0x7f8bb12d6af6] ->
/usr/lib64/dovecot/libssl_iostream_openssl.so(+0xa52e) [0x7f8bb12da52e] -> /
usr/lib...
2014 Mar 25
0
Disconnected (auth failed, 1 attempts)
...ap-login/client.c<<<<<<<<<<
static void imap_client_input(struct client *client)
{
struct imap_client *imap_client = (struct imap_client *)client;
if (!client_read(client))
return;
client_ref(client);
o_stream_cork(imap_client->common.output);
for (;;) {
if (!auth_client_is_connected(auth_client)) {
/* we're not currently connected to auth process -
don't allow any commands */
client_send_line(client,...
2017 Oct 12
2
Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
...->
>> /usr/lib64/dovecot/libdovecot.so.0(+0xf5cb0) [0x7f8bb6
>> 56bcb0] -> /usr/lib64/dovecot/libdovecot.so.0(io_remove+0x1d)
>> [0x7f8bb656be31] -> /usr/lib64/dovecot/libdovecot.so.0(+0x10b5f8)
>> [0x7f8bb65815f8] -> /usr/lib64/dovec
>> ot/libdovecot.so.0(o_stream_cork+0x5a) [0x7f8bb657e289] ->
>> /usr/lib64/dovecot/libssl_iostream_openssl.so(+0x6406) [0x7f8bb12d6406]
>> -> /usr/lib64/dovecot/libssl_iost
>> ream_openssl.so(openssl_iostream_bio_sync+0x18) [0x7f8bb12d6af6] ->
>> /usr/lib64/dovecot/libssl_iostream_openssl.so(+0xa52e)...
2017 Oct 12
0
Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
...+0) [0x7f8bb654ac39] ->
> /usr/lib64/dovecot/libdovecot.so.0(+0xf5cb0) [0x7f8bb6
> 56bcb0] -> /usr/lib64/dovecot/libdovecot.so.0(io_remove+0x1d)
> [0x7f8bb656be31] -> /usr/lib64/dovecot/libdovecot.so.0(+0x10b5f8)
> [0x7f8bb65815f8] -> /usr/lib64/dovec
> ot/libdovecot.so.0(o_stream_cork+0x5a) [0x7f8bb657e289] ->
> /usr/lib64/dovecot/libssl_iostream_openssl.so(+0x6406) [0x7f8bb12d6406]
> -> /usr/lib64/dovecot/libssl_iost
> ream_openssl.so(openssl_iostream_bio_sync+0x18) [0x7f8bb12d6af6] ->
> /usr/lib64/dovecot/libssl_iostream_openssl.so(+0xa52e)
> [0x7f8bb1...
2017 Oct 12
0
Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
...->
/usr/lib64/dovecot/libdovecot.so.0(+0xf5cb0) [0x7f8bb6
56bcb0] -> /usr/lib64/dovecot/libdovecot.so.0(io_remove+0x1d)
[0x7f8bb656be31] ->
/usr/lib64/dovecot/libdovecot.so.0(+0x10b5f8)
[0x7f8bb65815f8] -> /usr/lib64/dovec
ot/libdovecot.so.0(o_stream_cork+0x5a) [0x7f8bb657e289] ->
/usr/lib64/dovecot/libssl_iostream_openssl.so(+0x6406)
[0x7f8bb12d6406]
-> /usr/lib64/dovecot/libssl_iost
ream_openssl.so(openssl_iostream_bio_sync+0x18) [0x7f8bb12d6af6]
->
/usr/lib64/dovecot/libssl_iostream_openssl.so(+...
2017 Oct 12
0
Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
.../lib64/dovecot/libdovecot.so.0(+0xf5cb0) [0x7f8bb6
> >> 56bcb0] -> /usr/lib64/dovecot/libdovecot.so.0(io_remove+0x1d)
> >> [0x7f8bb656be31] -> /usr/lib64/dovecot/libdovecot.so.0(+0x10b5f8)
> >> [0x7f8bb65815f8] -> /usr/lib64/dovec
> >> ot/libdovecot.so.0(o_stream_cork+0x5a) [0x7f8bb657e289] ->
> >> /usr/lib64/dovecot/libssl_iostream_openssl.so(+0x6406) [0x7f8bb12d6406]
> >> -> /usr/lib64/dovecot/libssl_iost
> >> ream_openssl.so(openssl_iostream_bio_sync+0x18) [0x7f8bb12d6af6] ->
> >> /usr/lib64/dovecot/libssl_iostream...
2018 Mar 04
1
2.2.34 fails to build on OpenBSD
...s/libssl_iostream_openssl.so: undefined reference to `t_strdup_printf'
.libs/libssl_iostream_openssl.so: undefined reference to
`buffer_get_writable_size'
.libs/libssl_iostream_openssl.so: undefined reference to `net_ip_compare'
.libs/libssl_iostream_openssl.so: undefined reference to `o_stream_cork'
.libs/libssl_iostream_openssl.so: undefined reference to `t_str_new'
.libs/libssl_iostream_openssl.so: undefined reference to `t_strconcat'
collect2: ld returned 1 exit status
Error while executing cc -o .libs/test-ssl-iostream -I../../src/lib
-I../../src/lib-test -DMODULE_DIR="/...
2010 Apr 09
4
Patch: support URLAUTH, BURL, CATENATE
...+ args++;
+ }
+ return FALSE;
+}
+
+static void catenate_solicit(struct cmd_append_context *ctx, bool nonsync)
+{
+ if (!nonsync) {
+ o_stream_send(ctx->client->output, "+ OK\r\n", 6);
+ o_stream_flush(ctx->client->output);
+ o_stream_uncork(ctx->client->output);
+ o_stream_cork(ctx->client->output);
+ }
+}
+
+static bool catenate_url_validate(const struct imap_url_parts *parts,
+ const char **error)
+{
+ // user: absent; RFC 3501 "userid"
+ if (parts->user != NULL) {
+ *error = "user ID present; need relative URL";
+ return FALSE;
+ }
+...