xref: /aosp_15_r20/external/curl/docs/cmdline-opts/no-sessionid.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker---
2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl
4*6236dae4SAndroid Build Coastguard WorkerLong: no-sessionid
5*6236dae4SAndroid Build Coastguard WorkerHelp: Disable SSL session-ID reusing
6*6236dae4SAndroid Build Coastguard WorkerProtocols: TLS
7*6236dae4SAndroid Build Coastguard WorkerAdded: 7.16.0
8*6236dae4SAndroid Build Coastguard WorkerCategory: tls
9*6236dae4SAndroid Build Coastguard WorkerMulti: boolean
10*6236dae4SAndroid Build Coastguard WorkerSee-also:
11*6236dae4SAndroid Build Coastguard Worker  - insecure
12*6236dae4SAndroid Build Coastguard WorkerExample:
13*6236dae4SAndroid Build Coastguard Worker  - --no-sessionid $URL
14*6236dae4SAndroid Build Coastguard Worker---
15*6236dae4SAndroid Build Coastguard Worker
16*6236dae4SAndroid Build Coastguard Worker# `--no-sessionid`
17*6236dae4SAndroid Build Coastguard Worker
18*6236dae4SAndroid Build Coastguard WorkerDisable curl's use of SSL session-ID caching. By default all transfers are
19*6236dae4SAndroid Build Coastguard Workerdone using the cache. Note that while nothing should ever get hurt by
20*6236dae4SAndroid Build Coastguard Workerattempting to reuse SSL session-IDs, there seem to be broken SSL
21*6236dae4SAndroid Build Coastguard Workerimplementations in the wild that may require you to disable this in order for
22*6236dae4SAndroid Build Coastguard Workeryou to succeed.
23*6236dae4SAndroid Build Coastguard Worker
24*6236dae4SAndroid Build Coastguard WorkerNote that this is the negated option name documented. You can thus use
25*6236dae4SAndroid Build Coastguard Worker--sessionid to enforce session-ID caching.
26