| 637 | } |
| 638 | |
| 639 | static void h2_push_diary_append(h2_push_diary *diary, h2_push_diary_entry *e) |
| 640 | { |
| 641 | while (diary->entries->nelts >= diary->N) { |
| 642 | remove_first(diary); |
| 643 | } |
| 644 | /* append a new diary entry at the end */ |
| 645 | APR_ARRAY_PUSH(diary->entries, h2_push_diary_entry) = *e; |
| 646 | /* Intentional no APLOGNO */ |
| 647 | ap_log_perror(APLOG_MARK, GCSLOG_LEVEL, 0, diary->entries->pool, |
| 648 | "push_diary_append: %"APR_UINT64_T_HEX_FMT, e->hash); |
| 649 | } |
| 650 | |
| 651 | apr_array_header_t *h2_push_diary_update(h2_session *session, apr_array_header_t *pushes) |
| 652 | { |
no test coverage detected