Skip to content

Commit

Permalink
Merge branch 'main' into no-copy
Browse files Browse the repository at this point in the history
  • Loading branch information
yawkat committed Aug 31, 2023
2 parents f1980a6 + c40b9cc commit af20def
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ on:
pull_request:
branches: ["main"]
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
schedule:
- cron: '30 8 * * 1' # At 08:30 on Monday, every Monday.

jobs:
Build:
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/ci-scheduled-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# ----------------------------------------------------------------------------
# Copyright 2021 The Netty Project
#
# The Netty Project licenses this file to you under the Apache License,
# version 2.0 (the "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at:
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
# ----------------------------------------------------------------------------
name: Scheduled Build

on:
schedule:
- cron: '30 8 * * 1' # At 08:30 on Monday, every Monday.

jobs:
Build:
uses: netty-contrib/.github/.github/workflows/ci-build.yml@main
secrets: inherit
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void messageReceived(ChannelHandlerContext ctx, HttpObject msg) throws Ex

// new getMethod
for (HttpCookiePair cookie : request.headers().getCookies()) {
responseContent.append("COOKIE: " + cookie.encoded() + "\r\n");
responseContent.append("COOKIE: " + cookie.encodedCookie() + "\r\n");
}

responseContent.append("\r\n\r\n");
Expand Down

0 comments on commit af20def

Please sign in to comment.