mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
also log cookie parsing
This commit is contained in:
parent
14bcd332ce
commit
122b184a32
@ -796,6 +796,10 @@ do_syncrep2(
|
||||
}
|
||||
if ( ber_peek_tag( ber, &len ) == LDAP_TAG_SYNC_COOKIE ) {
|
||||
ber_scanf( ber, /*"{"*/ "m}", &cookie );
|
||||
|
||||
Debug( LDAP_DEBUG_SYNC, "do_syncrep2: cookie=%s\n",
|
||||
BER_BVISNULL( &cookie ) ? "" : cookie.bv_val, 0, 0 );
|
||||
|
||||
if ( !BER_BVISNULL( &cookie ) ) {
|
||||
ch_free( syncCookie.octet_str.bv_val );
|
||||
ber_dupbv( &syncCookie.octet_str, &cookie );
|
||||
@ -863,6 +867,10 @@ do_syncrep2(
|
||||
ber_scanf( ber, "{" /*"}"*/);
|
||||
if ( ber_peek_tag( ber, &len ) == LDAP_TAG_SYNC_COOKIE ) {
|
||||
ber_scanf( ber, "m", &cookie );
|
||||
|
||||
Debug( LDAP_DEBUG_SYNC, "do_syncrep2: cookie=%s\n",
|
||||
BER_BVISNULL( &cookie ) ? "" : cookie.bv_val, 0, 0 );
|
||||
|
||||
if ( !BER_BVISNULL( &cookie ) ) {
|
||||
ch_free( syncCookie.octet_str.bv_val );
|
||||
ber_dupbv( &syncCookie.octet_str, &cookie);
|
||||
@ -951,6 +959,10 @@ do_syncrep2(
|
||||
if ( ber_peek_tag( ber, &len ) == LDAP_TAG_SYNC_COOKIE )
|
||||
{
|
||||
ber_scanf( ber, "m", &cookie );
|
||||
|
||||
Debug( LDAP_DEBUG_SYNC, "do_syncrep2: cookie=%s\n",
|
||||
BER_BVISNULL( &cookie ) ? "" : cookie.bv_val, 0, 0 );
|
||||
|
||||
if ( !BER_BVISNULL( &cookie ) ) {
|
||||
ch_free( syncCookie.octet_str.bv_val );
|
||||
ber_dupbv( &syncCookie.octet_str, &cookie );
|
||||
@ -978,6 +990,10 @@ do_syncrep2(
|
||||
LDAP_TAG_SYNC_COOKIE )
|
||||
{
|
||||
ber_scanf( ber, "m", &cookie );
|
||||
|
||||
Debug( LDAP_DEBUG_SYNC, "do_syncrep2: cookie=%s\n",
|
||||
BER_BVISNULL( &cookie ) ? "" : cookie.bv_val, 0, 0 );
|
||||
|
||||
if ( !BER_BVISNULL( &cookie ) ) {
|
||||
ch_free( syncCookie.octet_str.bv_val );
|
||||
ber_dupbv( &syncCookie.octet_str, &cookie );
|
||||
|
Loading…
Reference in New Issue
Block a user