equal
deleted
inserted
replaced
145 iobuf_flush(&entry->iobuf, entry->io.sock); |
145 iobuf_flush(&entry->iobuf, entry->io.sock); |
146 } |
146 } |
147 |
147 |
148 io_clear(&entry->io); |
148 io_clear(&entry->io); |
149 iobuf_clear(&entry->iobuf); |
149 iobuf_clear(&entry->iobuf); |
150 /* |
150 /* |
151 * If the session hadn't made it to TRANSACTION |
151 * If the session hadn't made it to TRANSACTION |
152 * iev_maildrop is not inited. |
152 * iev_maildrop is not inited. |
153 */ |
153 */ |
154 if (entry->iev_maildrop) { |
154 if (entry->iev_maildrop) { |
155 imsgev_clear(entry->iev_maildrop); |
155 imsgev_clear(entry->iev_maildrop); |
156 entry->iev_maildrop->terminate = 1; |
156 entry->iev_maildrop->terminate = 1; |
157 } |
157 } |
|
158 |
158 logit(LOG_INFO, "%u: session closed", entry->id); |
159 logit(LOG_INFO, "%u: session closed", entry->id); |
159 free(entry); |
160 free(entry); |
160 } |
161 } |
161 |
162 |
162 static void |
163 static void |