MINOR: stream-int: rename si_applet_{want|stop|cant}_{get|put}
It doesn't make sense to limit this code to applets, as any stream
interface can use it. Let's rename it by simply dropping the "applet_"
part of the name. No other change was made except updating the comments.
diff --git a/src/ssl_sock.c b/src/ssl_sock.c
index 50af63b..39d599c 100644
--- a/src/ssl_sock.c
+++ b/src/ssl_sock.c
@@ -8571,7 +8571,7 @@
chunk_appendf(&trash, "# id (file)\n");
if (ci_putchk(si_ic(si), &trash) == -1) {
- si_applet_cant_put(si);
+ si_cant_put(si);
return 0;
}
@@ -8620,7 +8620,7 @@
* this stream's users so that it can remove us upon termination.
*/
HA_RWLOCK_RDUNLOCK(TLSKEYS_REF_LOCK, &ref->lock);
- si_applet_cant_put(si);
+ si_cant_put(si);
return 0;
}
appctx->ctx.cli.i1++;
@@ -8632,7 +8632,7 @@
/* let's try again later from this stream. We add ourselves into
* this stream's users so that it can remove us upon termination.
*/
- si_applet_cant_put(si);
+ si_cant_put(si);
return 0;
}