--- parser3/src/classes/op.C 2026/10/27 23:05:00 1.288 +++ parser3/src/classes/op.C 2026/10/28 22:01:36 1.290 @@ -23,7 +23,7 @@ #include "syslog.h" #endif -volatile const char * IDENT_OP_C="$Id: op.C,v 1.288 2026/10/27 23:05:00 moko Exp $"; +volatile const char * IDENT_OP_C="$Id: op.C,v 1.290 2026/10/28 22:01:36 moko Exp $"; // defines @@ -487,7 +487,8 @@ public: arequest.set_skip(Request::SKIP_NOTHING); } ~Temp_skip() { - if(frequest.get_skip() == Request::SKIP_NOTHING) + // the interruption is not restored: if it is not set now, it is already thrown + if(frequest.get_skip() == Request::SKIP_NOTHING && saved_skip != Request::SKIP_INTERRUPTED) frequest.set_skip(saved_skip); } }; @@ -509,7 +510,7 @@ static Try_catch_result try_catch(Reques try { result.processed_code=body_code(r, info); - } catch(const Recursion_limit_exception&) { + } catch(const Uncatchable_exception&) { rethrow; } catch(const Exception& e) { size_t trace_bottom=r.exception_trace.bottom_index(); @@ -806,7 +807,7 @@ static void _try_operator(Request& r, Me try{ // process try and catch code result=try_catch(r, process_try_body_code, &body_code, &catch_code); - } catch(const Recursion_limit_exception&) { + } catch(const Uncatchable_exception&) { rethrow; } catch(...){ // process finally code but ignore the result