Develop and Download Open Source Software
Login
Create Account
Help
MY OSDN
Find Software
Magazine
Develop
Pastebin
Software
People
PersonalForge
Magazine
Wiki
OSDN
>
Find Software
>
Tera Term
Tera Term
Summary
Project Summary
Developer Dashboard
Project Reviews
Web Page
Developers
List of RSS Feeds
Statistics
History
Image Gallery
Search Keywords
News
Listed News
Help
Downloads
List of Releases
Help
Source Code
Guide
Browse CVS
Browse SVN
Help
Wiki
FrontPage
Title index
Recent changes
Wiki Search
Help
Docs
List Docs
Help
Forums
List of Forums
Open Discussion (173)
Help (428)
Help
Mailing Lists
list of ML
ttssh2-commit
ttssh2-dev
ttssh2-users
Help
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Help
Browse Subversion Repository
/
[ttssh2]
/
ttssh2
/
trunk
/
ttxssh
/
pkt.c
Diff of /ttssh2/trunk/ttxssh/pkt.c
Parent Directory
|
Revision Log
|
Patch
revision
2922
by
yutakapon
, Sun Oct 29 17:15:47 2006 UTC
revision
2937
by
maya
, Thu Nov 23 02:19:30 2006 UTC
#
Line 239
int PKT_recv(PTInstVar pvar, char FAR *
Line 239
int PKT_recv(PTInstVar pvar, char FAR *
239
} else if (total_packet_size > 4 * 1024 * 1024) {
} else if (total_packet_size > 4 * 1024 * 1024) {
240
// 4MBを超える巨大なパケットが届いたら、異常終了する。
// 4MBを超える巨大なパケットが届いたら、異常終了する。
241
// 実際にはデータ化けで復号失敗時に、誤認識することが多い。
// 実際にはデータ化けで復号失敗時に、誤認識することが多い。
242
#ifdef I18N
243
strcpy(pvar->ts->UIMsg, "Oversized packet received from server; connection will close.");
244
UTIL_get_lang_msg("MSG_OVERSIZED_PACKET_ERROR", pvar);
245
notify_fatal_error(pvar, pvar->ts->UIMsg);
246
#else
247
notify_fatal_error(pvar,
notify_fatal_error(pvar,
248
"Oversized packet received from server; connection will close.");
"Oversized packet received from server; connection will close.");
249
#endif
250
} else {
} else {
251
int amount_read =
int amount_read =
252
recv_data(pvar, max(total_packet_size, READAMOUNT));
recv_data(pvar, max(total_packet_size, READAMOUNT));
#
Line 303
void PKT_end(PTInstVar pvar)
Line 309
void PKT_end(PTInstVar pvar)
309
310
/*
/*
311
* $Log: not supported by cvs2svn $
* $Log: not supported by cvs2svn $
312
* Revision 1.3 2006/10/29 17:15:47 yutakapon
313
* DEBUG_PRINT_TO_FILEマクロを追加。
314
*
315
* Revision 1.2 2004/12/19 15:39:58 yutakakn
* Revision 1.2 2004/12/19 15:39:58 yutakakn
316
* CVS LogIDの追加
* CVS LogIDの追加
317
*
*
Colored Diff
Long Colored Diff
Full Colored Diff
Unidiff
Context Diff
Side by Side
Legend:
Removed from v.2922
changed lines
Added in v.2937
Back to OSDN
">
Back to OSDN
ViewVC Help
Powered by
ViewVC 1.1.26